PostgreSQL 中文参考文档
🌐 英文原版 官方 ↗

52.24. pg_foreign_server #

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

Table 52.24. \1 字段列说明

Column Type

Description

oid oid

Row identifier

srvname name

外部服务器的名称

srvowner oid (references pg_authid.oid)

外部服务器的拥有者

srvfdw oid (references pg_foreign_data_wrapper.oid)

此外部服务器的外部数据包装器的 OID

srvtype text

服务器的类型(可选)

srvversion text

服务器的版本(可选)

srvacl aclitem[]

访问特权;详见 Section 5.8

srvoptions text[]

外部服务器特定的选项,以 “keyword=value” 字符串的形式