Redrock Postgres 搜索 英文
版本: 9.3 / 9.4 / 9.5 / 9.6 / 10 / 11 / 12 / 13 / 14

52.24. pg_foreign_server

目录pg_foreign_server存储外部服务器定义。外部服务器定义了外部数据的来源,例如一个远程服务器。外部服务器通过外部数据包装器来访问。

表 52.24. pg_foreign_server的列

名称类型引用描述
oidoid 行标识符(隐藏属性,必须被显式选择才会显示)
srvnamename 外部服务器的名字
srvowneroidpg_authid.oid外部服务器的拥有者
srvfdwoidpg_foreign_data_wrapper.oid此外部服务器的外部数据包装器的OID
srvtypetext 服务器的类型(可选)
srvversiontext 服务器的版本(可选)
srvaclaclitem[]  访问权限,详见GRANTREVOKE
srvoptionstext[]  外部服务器特定选项,以keyword=value字符串形式