Redrock Postgres 搜索 英文
版本: 10 / 11 / 12 / 13 / 14 / 15 / 16 / 17

52.17. pg_publication_tables #

视图 pg_publication_tables 提供有关发布与其中包含的表信息之间的映射的信息。与基础目录 pg_publication_rel 不同,此视图扩展了定义为 FOR ALL TABLESFOR TABLES IN SCHEMA 的发布,因此对于此类发布,将为每个符合条件的表设置一行。

表 52.17. pg_publication_tables

列类型

说明

pubname name(引用 pg_publication.pubname

发布的名称

schemaname name(引用 pg_namespace.nspname

包含表格的架构名称

tablename name(参考 pg_class.relname

表格名称

attnames name[](参考 pg_attribute.attname

包含在发布中的表格列的名称。当用户未为表格指定列列表时,这里包含表格的所有列。

rowfilter text

表格发布限定条件的表达式