pg_publication_tables
视图pg_publication_tables提供publication与其所包含的表之间的映射信息。和底层的目录pg_publication_rel不同,这个视图展开了定义为FOR ALL TABLES的publication,这样对这类publication来说,每一个合格的表都有一行。
表 51.80. pg_publication_tables的列
| 名称 | 类型 | 引用 | 描述 |
|---|---|---|---|
pubname | name | | publication名称 |
schemaname | name | | 包含表的方案名称 |
tablename | name | | 表名 |