pg_publication_tables
The view pg_publication_tables provides information about the mapping between publications and information of tables they contain. Unlike the underlying catalog pg_publication_rel, this view expands publications defined as FOR ALL TABLES and FOR TABLES IN SCHEMA, so for such publications there will be a row for each eligible table.
English manual coverage begins with PostgreSQL 7.4. Source history and runtime observations have their own recorded version boundaries.
Reading PG 18·Select a recorded version
- kind
- view
- lang
- en
- measured attributes
- true
- metadata release
- 18.6
- runtime columns
- pubname, schemaname, tablename, attnames, rowfilter
- runtime verified
- false
- source
- english-manual
Definition PG 18
The view pg_publication_tables provides information about the mapping between publications and information of tables they contain. Unlike the underlying catalog pg_publication_rel, this view expands publications defined as FOR ALL TABLES and FOR TABLES IN SCHEMA, so for such publications there will be a row for each eligible table.
Catalog columns
| Column | Type | Nullability | Description |
|---|---|---|---|
| pubname | name | Nullable | Name of publication |
| schemaname | name | Nullable | Name of schema containing table |
| tablename | name | Nullable | Name of table |
| attnames | name[] | Nullable | Names of table columns included in the publication. This contains all the columns of the table when the user didn't specify the column list for the table. |
| rowfilter | text | Nullable | Expression for the table's publication qualifying condition |
Compare versions
Source references
Full definition and evidence JSON
Definition sources
center · PostgreSQL 18 · catalog-bilingual-repair:ca21005bed7481aac54eae56b22e6e3a93923bf2b55eb7bda54005420b63ba43
Text language: en · catalog-bilingual-repair:ca21005bed7481aac54eae56b22e6e3a93923bf2b55eb7bda54005420b63ba43