.. _postgresql_pg_publication_tables:

pg_publication_tables
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

视图pg_publication_tables提供publication与其所包含的表之间的映射信息。和底层的视图pg_publication_rel不同，这个视图展开了定义为FOR ALL TABLES的publication，这样对这类publication来说，每一个合格的表都有一行。

.. table:: pg_publication_tables 列
      :widths: 3, 2, 4
      :class: longtable
      
      +------------+------+------------------+
      | 名称       | 类型 | 描述             |
      +============+======+==================+
      | pubname    | name | publication名称  |
      +------------+------+------------------+
      | schemaname | name | 包含表的方案名称 |
      +------------+------+------------------+
      | tablename  | name | 表名             |
      +------------+------+------------------+
