56.18. pg_publication_tables #
Представление pg_publication_tables содержит информацию о сопоставлении публикаций с информацией о связанных с ними таблицах. В отличие от нижележащего каталога pg_publication_rel, в это представление добавляются публикации вида FOR ALL TABLES и FOR TABLES IN SCHEMA, и для такой публикации в нём будет присутствовать строка для каждой входящей в неё таблицы.
Таблица 56.18. Столбцы pg_publication_tables
Тип столбца Описание |
|---|
Имя публикации |
Имя схемы, содержащей таблицу |
Имя таблицы |
Имена столбцов таблицы, включённых в публикацию. Если список столбцов таблицы не указан в публикации, перечисляются все её столбцы. |
Выражение для условия, ограничивающего публикацию таблицы |
56.18. 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.
Table 56.18. pg_publication_tables Columns
Column Type Description |
|---|
Name of publication |
Name of schema containing table |
Name of table |
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. |
Expression for the table's publication qualifying condition |