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_rel

Read PG 18 manual ↗

The catalog pg_publication_rel contains the mapping between relations and publications in the database.

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

Columns 5

ColumnTypeDescription / reference
oidoidRow identifier
prpubidoidReference to publication
pg_publication.oid
prrelidoidReference to relation
pg_class.oid
prqualpg_node_treeExpression tree (in nodeToString() representation) for the relation's publication qualifying condition. Null if there is no publication qualifying condition.
prattrsint2vectorThis is an array of values that indicates which table columns are part of the publication. For example, a value of 1 3 would mean that the first and the third table columns are published. A null value indicates that all columns are published.
pg_attribute.attnum
Column history across versions
Version history 9
  1. PG 18 → 19changed
  2. PG 17 → 18changed
  3. PG 16 → 17changed
  4. PG 14 → 15changed
  5. PG 13 → 14changed
  6. PG 12 → 13changed
  7. PG 11 → 12changed
  8. PG 10 → 11changed
  9. PG 9.6 → 10added

Definition snapshot: english-manuals:9181530669c2a0ae981cd1d6553… · English manual source