Updated on 2023-10-23 GMT+08:00

PG_PUBLICATION

PG_PUBLICATION contains all publications created in the current database.

Table 1 PG_PUBLICATION columns

Name

Type

Description

oid

oid

Row identifier (hidden attribute, which must be specified).

pubname

name

Publication name

pubowner

oid

Publication owner

puballtables

boolean

If the value is true, this publication automatically includes all tables in the database, including any tables that will be created in the future.

pubinsert

boolean

If the value is true, copy the INSERT operation on tables in the publication.

pubupdate

boolean

If the value is true, copy the UPDATE operation on tables in the publication.

pubdelete

boolean

If the value is true, copy the DELETE operation on tables in the publication.