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

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

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

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

Columns 5

As listed in the PostgreSQL 18 manual.

ColumnTypeDescription / reference
oidoidNOT NULLRow identifier
prpubidoidNOT NULLReference to publication
pg_publication.oid
prrelidoidNOT NULLReference 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. 18 → 19 changed
  2. 17 → 18 reworded
  3. 16 → 17 reworded
  4. 14 → 15 changed
  5. 13 → 14 reworded
  6. 12 → 13 reworded
  7. 11 → 12 changed
  8. 10 → 11 reworded
  9. 9.6 → 10 added

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