Files
doc-exports/docs/dws/dev/dws_04_0592.html
luhuayi 177cd61a57 DWS DEVG 910.211 version
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: luhuayi <luhuayi@huawei.com>
Co-committed-by: luhuayi <luhuayi@huawei.com>
2025-05-05 07:44:03 +00:00

8.2 KiB

PG_FOREIGN_SERVER

PG_FOREIGN_SERVER records the 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 1 PG_FOREIGN_SERVER columns

Name

Type

Reference

Description

OID

OID

N/A

Row identifier (hidden attribute; displayed only when explicitly selected)

srvname

Name

N/A

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

N/A

Type of the server (optional)

srvversion

Text

N/A

Version of the server (optional)

srvacl

aclitem[]

N/A

Access permissions

srvoptions

Text[]

N/A

Option used for foreign servers. It is a keyword=value string.