51.25. pg_foreign_table
目录pg_foreign_table
包含有关外部表的辅助信息。外部表主要由pg_class
项表示,就像常规表一样。它的pg_foreign_table
条目包含仅与外部表有关的信息,而与任何其他类型的关系均无关。
表 51.25. pg_foreign_table
列
Name | Type | References | Description |
ftrelid | oid | pg_class.oid | 此外部表的pg_class 条目的 OID |
ftserver | oid | pg_foreign_server.oid | 该外部表的外部服务器的 OID |
ftoptions | text[] | | 外部表选项,作为“关键字=值”字符串 |