PostgreSQL 中文参考文档
🌐 英文原版 官方 ↗

53.18. pg_publication_tables #

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

Table 53.18. \1 字段列说明

Column Type

Description

pubname name (references pg_publication.pubname)

发布的名称

schemaname name (references pg_namespace.nspname)

包含表的模式的名称

tablename name (references pg_class.relname)

表的名称

attnames name[] (references pg_attribute.attname)

包含在发布中的表列的名称。 当用户没有为该表指定列列表时,这包含该表的全部列。

rowfilter text

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