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

53.25. pg_foreign_table #

The catalog <structname>pg_foreign_table</structname> contains auxiliary information about foreign tables. A foreign table is primarily represented by a <link linkend="catalog-pg-class"><structname>pg_class</structname></link> entry, just like a regular table. Its <structname>pg_foreign_table</structname> entry contains the information that is pertinent only to foreign tables and not any other kind of relation. pg_foreign_tableカタログには、外部テーブルに関する補助情報が含まれます。 外部テーブルは主にpg_classの項目により表されます。 pg_foreign_tableの項目には、外部テーブルに属する情報のみに関する情報が含まれ、他の種類のリレーションは含まれません。

表53.25 pg_foreign_tableの列

<title><structname>pg_foreign_table</structname> Columns</title>

Column Type 列 型

Description 説明

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

The OID of the <link linkend="catalog-pg-class"><structname>pg_class</structname></link> entry for this foreign table この外部テーブルに対するpg_class項目のOID

ftserver oid (references <link linkend="catalog-pg-foreign-server"><structname>pg_foreign_server</structname></link>.<structfield>oid</structfield>) (参照先 pg_foreign_server.oid

OID of the foreign server for this foreign table この外部テーブルに対する外部サーバOID

ftoptions text[]

Foreign table options, as <quote>keyword=value</quote> strings keyword=value文字列のような、外部テーブルのオプション