OptionalloggerMosaic logger instance to log info messages. If not provided, console.log
is used instead.
OptionaloperationsAn array of database operations to be associated with (re)created publication that will be observed.
OptionalpluginLogical Replication output plugin to be used during (re)creation of the replication slot.
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.
A set of parameters used by
ensureReplicationSlotAndPublicationExisthelper.