↑↓ 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 the PG 18 manual

The catalog pg_publication contains all publications created in the database.

Reading PG 18current·documented in 11 of 24 versions, 10 to 20

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

Columns 10

As listed in the PostgreSQL 18 manual.

ColumnTypeDescription / reference
oidoidNOT NULLRow identifier
pubnamenameNOT NULLName of the publication
pubowneroidNOT NULLOwner of the publication
pg_authid.oid
puballtablesboolNOT NULLIf true, this publication automatically includes all tables in the database, including any that will be created in the future.
pubinsertboolNOT NULLIf true, INSERT operations are replicated for tables in the publication.
pubupdateboolNOT NULLIf true, UPDATE operations are replicated for tables in the publication.
pubdeleteboolNOT NULLIf true, DELETE operations are replicated for tables in the publication.
pubtruncateboolNOT NULLIf true, TRUNCATE operations are replicated for tables in the publication.
pubviarootboolNOT NULLIf 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.
pubgencolscharNOT NULLControls 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. 18 → 19 changed
  2. 17 → 18 changed
  3. 16 → 17 reworded
  4. 13 → 14 reworded
  5. 12 → 13 changed
  6. 11 → 12 changed
  7. 10 → 11 changed
  8. 9.6 → 10 added

Definition snapshot: english-manuals:c4600f65a9d66d06ba0da83aac9… · English manual source