used by the foreign server (always the current database)
</para></entry>
</row>
<row>
<entry role="catalog_table_entry"><para role="column_definition">
<structfield>foreign_data_wrapper_name</structfield> <type>sql_identifier</type>
</para>
<para>
Name of the foreign-data wrapper used by the foreign server
</para></entry>
</row>
<row>
<entry role="catalog_table_entry"><para role="column_definition">
<structfield>foreign_server_type</structfield> <type>character_data</type>
</para>
<para>
Foreign server type information, if specified upon creation
</para></entry>
</row>
<row>
<entry role="catalog_table_entry"><para role="column_definition">
<structfield>foreign_server_version</structfield> <type>character_data</type>
</para>
<para>
Foreign server version information, if specified upon creation
</para></entry>
</row>
<row>
<entry role="catalog_table_entry"><para role="column_definition">
<structfield>authorization_identifier</structfield> <type>sql_identifier</type>
</para>
<para>
Name of the owner of the foreign server
</para></entry>
</row>
</tbody>
</tgroup>
</table>
</sect1>
<sect1 id="infoschema-foreign-table-options">
<title><literal>foreign_table_options</literal></title>
<para>
The view <literal>foreign_table_options</literal> contains all the
options defined for foreign tables in the current database. Only
those foreign tables are shown that the current user has access to
(by way of being the owner or having some privilege).
</para>
<table>
<title><structname>foreign_table_options</structname> Columns</title>
<tgroup cols="1">
<thead>
<row>
<entry role="catalog_table_entry"><para role="column_definition">
Column Type
</para>
<para>
Description
</para></entry>
</row>
</thead>
<tbody>
<row>
<entry role="catalog_table_entry"><para role="column_definition">
<structfield>foreign_table_catalog</structfield> <type>sql_identifier</type>
</para>
<para>
Name of the database that contains the foreign table (always the current database)
</para></entry>
</row>
<row>
<entry role="catalog_table_entry"><para role="column_definition">
<structfield>foreign_table_schema</structfield> <type>sql_identifier</type>
</para>
<para>
Name of the schema that contains the foreign table
</para></entry>
</row>
<row>
<entry role="catalog_table_entry"><para role="column_definition">
<structfield>foreign_table_name</structfield> <type>sql_identifier</type>
</para>
<para>
Name of the foreign table
</para></entry>
</row>
<row>
<entry role="catalog_table_entry"><para role="column_definition">
<structfield>option_name</structfield> <type>sql_identifier</type>
</para>
<para>
Name of an option
</para></entry>
</row>
<row>
<entry role="catalog_table_entry"><para role="column_definition">
<structfield>option_value</structfield> <type>character_data</type>
</para>
<para>
Value of the option
</para></entry>
</row>
</tbody>
</tgroup>
</table>
</sect1>
<sect1 id="infoschema-foreign-tables">
<title><literal>foreign_tables</literal></title>
<para>
The view <literal>foreign_tables</literal> contains all foreign
tables defined in the current database. Only those foreign
tables are shown that the current user has access to (by way of
being the owner or having some privilege).
</para>
<table>
<title><structname>foreign_tables</structname> Columns</title>
<tgroup cols="1">
<thead>
<row>
<entry role="catalog_table_entry"><para role="column_definition">
Column Type