pg_foreign_server
系统目录表pg_foreign_server存储外部服务器定义。
外部服务器描述外部数据源,例如远程服务器。
您可以通过外部数据包装器访问外部服务器。
Table 1. pg_catalog.pg_foreign_server
| 列 | 类型 | 参考 | 描述 |
|---|---|---|---|
srvname |
name | 外部服务器的名称。 | |
srvowner |
oid | pg_authid.oid | 外部服务器的所有者。 |
srvfdw |
oid | pg_foreign_data_wrapper.oid | 此外部服务器的外部数据包装器的OID。 |
srvtype |
text | 服务器类型(可选)。 | |
srvversion |
text | 服务器版本(可选)。 | |
srvacl |
aclitem[] | 访问权限; 有关详细信息,请参阅[GRANT](../sql_commands/GRANT.html#topic1)和[REVOKE](../sql_commands/REVOKE.html#topic1)。 |
|
srvoptions |
text[] | 外部服务器特定选项,作为“keyword = value”字符串。 |
Parent topic: 系统目录定义