Skip to content

foreign_servers

The foreign_servers view contains all foreign servers defined in the current database. WarehousePG displays only those foreign servers to which the current user has access (by way of being the owner or having some privilege).

columntypereferencesdescription
foreign_server_catalogsql_identifierName of the database in which the foreign server is defined (always the current database).
foreign_server_namesql_identifierName of the foreign server.
foreign_data_wrapper_catalogsql_identifierName of the database in which the foreign-data wrapper used by the foreign server is defined (always the current database).
foreign_data_wrapper_namesql_identifierName of the foreign-data wrapper used by the foreign server.
foreign_server_typecharacter_dataForeign server type information, if specified upon creation.
foreign_server_versioncharacter_dataForeign server version information, if specified upon creation.
authorization_identifiersql_identifierName of the owner of the foreign server.

Parent topic: System Catalogs Definitions