Optional
loggerMosaic logger instance to log info messages. If not provided, console.log
is used instead.
Optional
operationsAn array of database operations to be associated with (re)created publication that will be observed.
insert
, update
, delete
Optional
pluginLogical Replication output plugin to be used during (re)creation of the replication slot.
pgoutput
The name of the publication associated with the current database to be checked for existence and (re)created.
PostgreSQL Pool instance. The role that is used to create this instance
must have a REPLICATION
attribute assigned to it.
The name of the replication slot associated with the current database to be checked for existence and (re)created.
The name must be a unique value across all databases present in the PostgreSQL Server.
Name of the schema for passed publication tables.
List of table names to be associated with publication to observe changes on.
REPLICA IDENTITY FULL
is set for each passed table.
Generated using TypeDoc
A set of parameters used by
ensureReplicationSlotAndPublicationExist
helper.