This page in other versions: 9.1 / 9.2 / 9.3 / 9.4 / current (9.5)  |  Development versions: devel / 9.6  |  Unsupported versions: 8.4 / 9.0

49.24. pg_foreign_server

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 49-24. pg_foreign_server Columns

Name Type References Description
oid oid   Row identifier (hidden attribute; must be explicitly selected)
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

Submit correction

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.

Privacy Policy | About PostgreSQL
Copyright © 1996-2016 The PostgreSQL Global Development Group