164 Star 224 Fork 1.2K

openGauss / docs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
_PG_FOREIGN_TABLES.md 5.10 KB
一键复制 编辑 原始数据 按行查看 历史
miaolalamiya 提交于 2021-08-26 14:06 . 修改了标点错误。

_PG_FOREIGN_TABLES

存储所有的定义在本数据库的外部表信息。只显示当前用户有权访问的外部表信息。该视图只有sysadmin权限可以查看。

表 1 _PG_FOREIGN_TABLES字段

名称

类型

描述

foreign_table_catalog

information_schema.sql_identifier

外部表所在的数据库名称(永远是当前数据库)。

foreign_table_schema

name

外部表的schema名称。

foreign_table_name

name

外部表的名称。

ftoptions

text[]

外部表的可选项。

foreign_server_catalog

information_schema.sql_identifier

外部服务器所在的数据库名称(永远是当前数据库)。

foreign_server_name

information_schema.sql_identifier

外部服务器的名称。

authorization_identifier

information_schema.sql_identifier

所有者的角色名称。

1
https://gitee.com/opengauss/docs.git
git@gitee.com:opengauss/docs.git
opengauss
docs
docs
2.1.0

搜索帮助