受支持版本: 当前版本 (18) / 17 / 16 / 15 / 14
开发版本: devel

53.18. pg_publication_tables #

视图pg_publication_tables提供发布与其所包含表之间映射关系的信息。与底层目录 pg_publication_rel不同,该视图会展开定义为 FOR ALL TABLESFOR TABLES IN SCHEMA 的发布, 因此对于这类发布,每个符合条件的表都会有一行。

Table 53.18. 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

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


提交更正

如果您发现文档中有不正确的内容、与您使用特定功能的经验不符或需要进一步说明,请使用此表单来报告文档问题。