バージョンごとのドキュメント一覧

54.17. pg_publication_tables #

The view <structname>pg_publication_tables</structname> provides information about the mapping between publications and information of tables they contain. Unlike the underlying catalog <link linkend="catalog-pg-publication-rel"><structname>pg_publication_rel</structname></link>, this view expands publications defined as <link linkend="sql-createpublication-for-all-tables"><literal>FOR ALL TABLES</literal></link> and <link linkend="sql-createpublication-for-tables-in-schema"><literal>FOR TABLES IN SCHEMA</literal></link>, so for such publications there will be a row for each eligible table. pg_publication_tablesビューはパブリケーションとそれに含まれるテーブルの間のマッピングに関する情報を提供します。 その元となるカタログpg_publication_relとは異なり、このビューはFOR ALL TABLESFOR TABLES IN SCHEMAで定義されたパブリケーションを展開するため、そのようなパブリケーションについては対象となる各テーブルについて1行があります。

表54.17 pg_publication_tablesの列

<title><structname>pg_publication_tables</structname> Columns</title>

Column Type 列 型

Description 説明

pubname name (references <link linkend="catalog-pg-publication"><structname>pg_publication</structname></link>.<structfield>pubname</structfield>) (参照先 pg_publication.pubname

Name of publication パブリケーションの名前

schemaname name (references <link linkend="catalog-pg-namespace"><structname>pg_namespace</structname></link>.<structfield>nspname</structfield>) (参照先 pg_namespace.nspname

Name of schema containing table テーブルがあるスキーマの名前

tablename name (references <link linkend="catalog-pg-class"><structname>pg_class</structname></link>.<structfield>relname</structfield>) (参照先 pg_class.relname

Name of table テーブルの名前

attnames name[] (references <link linkend="catalog-pg-attribute"><structname>pg_attribute</structname></link>.<structfield>attname</structfield>) (参照先 pg_attribute.attname

Names of table columns included in the publication. This contains all the columns of the table when the user didn't specify the column list for the table. パブリケーションに含まれるテーブル列の名前。 ユーザーがテーブルの列リストを指定しなかった場合に、テーブルのすべての列が含まれます。

rowfilter text

Expression for the table's publication qualifying condition テーブルのパブリケーション必要条件の式