Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AlterPublicationSetTable = `ALTER PUBLICATION %s SET TABLE %s;`
View Source
var CreateLogicalSlot = `SELECT pg_create_logical_replication_slot($1, $2);`
View Source
var CreatePublication = `CREATE PUBLICATION %s FOR ALL TABLES;`
View Source
var CreatePublicationForTables = `CREATE PUBLICATION %s FOR TABLE %s;`
View Source
var DropPublication = `DROP PUBLICATION %s;`
View Source
var InstallExtension = `CREATE EXTENSION IF NOT EXISTS pgcapture;`
View Source
var QueryAttrTypeOID = `` /* 360-byte string literal not displayed */
View Source
var QueryIdentityKeys = `` /* 875-byte string literal not displayed */
View Source
var QueryPublication = `SELECT puballtables FROM pg_publication WHERE pubname = $1;`
View Source
var QueryPublicationTables = `SELECT schemaname, tablename FROM pg_publication_tables WHERE pubname = $1;`
View Source
var QueryReplicationSlot = `SELECT confirmed_flush_lsn FROM pg_replication_slots WHERE slot_name = $1;`
View Source
var ServerVersionNum = `SHOW server_version_num;`
Functions ¶
func InsertQuery ¶
func InsertQuery(opt InsertOption) string
Types ¶
Click to show internal directories.
Click to hide internal directories.