RefLib

Reference library for AI

Back

postgresql_16:8.3.17 pg_publication_tables

PostgreSQL 16 > Internals > System Views > 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 (see postgresql_16:8.2.42), this view expands publications defined as FOR ALL TABLES (see sql-createpublication-for-all-tables) and FOR TABLES IN SCHEMA (see sql-createpublication-for-tables-in-schema), so for such publications there will be a row for each eligible table.

| Column Type Description | | --- | | pubname name (references pg_publication (see postgresql_16:8.2.40).pubname) Name of publication | | schemaname name (references pg_namespace (see postgresql_16:8.2.32).nspname) Name of schema containing table | | tablename name (references pg_class (see postgresql_16:8.2.11).relname) Name of table | | attnames name[] (references pg_attribute (see postgresql_16:8.2.7).attname) 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 Expression for the table's publication qualifying condition |

Back