↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Supported versions: Current (18) / 17 / 16 / 15 / 14
Development versions: 19 / 20devel
Unsupported versions: 13 / 12 / 11 / 10 / 9.6 / 9.5 / 9.4 / 9.3 / 9.2 / 9.1 / 9.0 / 8.4
Historical version. PostgreSQL 8.4 has reached end of support. See the current manual.

44.19. pg_foreign_server

The catalog pg_foreign_server stores foreign server definitions. A foreign server describes the connection to a remote server, managing external data. Foreign servers are accessed via foreign-data wrappers.

Table 44-19. pg_foreign_server Columns

NameTypeReferencesDescription
srvnamename Name of the foreign server
srvowneroidpg_authid.oidOwner of the foreign server
srvfdwoidpg_foreign_data_wrapper.oidThe OID of the foreign-data wrapper of this foreign server
srvtypetext Type of the 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.

Report a documentation issue

Read the upstream documentation. For corrections, first check the current manual.