The foreign_servers view contains all foreign servers defined in the current database. Greenplum Database 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_identifier Name of the database in which the foreign server is defined (always the current database).
    foreign_server_namesql_identifier Name of the foreign server.
    foreign_data_wrapper_catalogsql_identifier Name of the database in which the foreign-data wrapper used by the foreign server is defined (always the current database).
    foreign_data_wrapper_namesql_identifier Name of the foreign-data wrapper used by the foreign server.
    foreign_server_typecharacter_data Foreign server type information, if specified upon creation.
    foreign_server_versioncharacter_data Foreign server version information, if specified upon creation.
    authorization_identifiersql_identifier Name of the owner of the foreign server.

    Parent topic: System Catalogs Definitions