pg_foreign_server

The system catalog table pg_foreign_server stores foreign server definitions. A foreign server describes a source of external data, such as a remote server. You access a foreign server via a foreign-data wrapper.

columntypereferencesdescription
srvnamename Name of the foreign server.
srvowneroidpg_authid.oidOwner of the foreign server.
srvfdwoidpg_foreign_data_wrapper.oidOID of the foreign-data wrapper of this foreign server.
srvtypetext Type of server (optional).
srvversiontext Version of the server (optional).
srvaclaclitem[] Access privileges; see GRANT and REVOKE for details.
srvoptionstext[] Foreign server-specific options, as “keyword=value” strings.