Postgres-XC 1.1.1 Documentation | ||||
---|---|---|---|---|
Prev | Up | Chapter 47. System Catalogs | Next |
This catalog exists in each coordinator and datanode in Postgres-XC as inherited from PostgreSQL. Please note that current release of Postgres-XC does not support foreign data wrapper.
Note: The following description applies both to Postgres-XC and PostgreSQL if not described explicitly.
The catalog pg_foreign_server stores foreign server definitions. A foreign server describes a source of external data, such as a remote server. Foreign servers are accessed via foreign-data wrappers.
Table 47-23. pg_foreign_server Columns
Name | Type | References | Description |
---|---|---|---|
srvname | name | Name of the foreign server | |
srvowner | oid | pg_authid.oid | Owner of the foreign server |
srvfdw | oid | pg_foreign_data_wrapper.oid | OID of the foreign-data wrapper of this foreign server |
srvtype | text | Type of the server (optional) | |
srvversion | text | Version of the server (optional) | |
srvacl | aclitem[] | Access privileges; see GRANT and REVOKE for details | |
srvoptions | text[] | Foreign server specific options, as "keyword=value" strings |