select open change scope Open full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

SYSTEM CATALOGS / SYSTEM CATALOGS

pg_publication

Read PG 18 manual ↗

The catalog pg_publication contains all publications created in the database.

Kind
System catalogs
Columns in this snapshot
10
Definition source
English manual

Columns 10

ColumnTypeDescription / reference
oidoidRow identifier
pubnamenameName of the publication
pubowneroidOwner of the publication
pg_authid.oid
puballtablesboolIf true, this publication automatically includes all tables in the database, including any that will be created in the future.
pubinsertboolIf true, INSERT operations are replicated for tables in the publication.
pubupdateboolIf true, UPDATE operations are replicated for tables in the publication.
pubdeleteboolIf true, DELETE operations are replicated for tables in the publication.
pubtruncateboolIf true, TRUNCATE operations are replicated for tables in the publication.
pubviarootboolIf true, operations on a leaf partition are replicated using the identity and schema of its topmost partitioned ancestor mentioned in the publication instead of its own.
pubgencolscharControls how to handle generated column replication when there is no publication column list: n = generated columns in the tables associated with the publication should not be replicated, s = stored generated columns in the tables associated with the publication should be replicated.
Column history across versions
Version history 8
  1. PG 18 → 19changed
  2. PG 17 → 18changed
  3. PG 16 → 17changed
  4. PG 13 → 14changed
  5. PG 12 → 13changed
  6. PG 11 → 12changed
  7. PG 10 → 11changed
  8. PG 9.6 → 10added

Definition snapshot: english-manuals:1dc02d96955e057e5e3d6c4fe4f… · English manual source