51.25. pg_foreign_table
В каталоге pg_foreign_table
содержится дополнительная информация о сторонних таблицах. Прежде всего сторонняя таблица представляется записью в pg_class
, как и обычная. Запись в pg_foreign_table
для неё содержит свойства, применимые только к сторонним таблицам, но не к каким-либо другим типам отношений.
Таблица 51.25. Столбцы pg_foreign_table
Name | Тип | Ссылки | Описание |
---|---|---|---|
ftrelid | oid |
| OID записи в pg_class для этой сторонней таблицы |
ftserver | oid |
| OID стороннего сервера для этой сторонней таблицы |
ftoptions | text[] | Параметры сторонней таблицы, в виде строк «ключ=значение» |
36.8. check_constraint_routine_usage
The view check_constraint_routine_usage
identifies routines (functions and procedures) that are used by a check constraint. Only those routines are shown that are owned by a currently enabled role.
Table 36.6. check_constraint_routine_usage
Columns
Name | Data Type | Description |
---|---|---|
constraint_catalog | sql_identifier | Name of the database containing the constraint (always the current database) |
constraint_schema | sql_identifier | Name of the schema containing the constraint |
constraint_name | sql_identifier | Name of the constraint |
specific_catalog | sql_identifier | Name of the database containing the function (always the current database) |
specific_schema | sql_identifier | Name of the schema containing the function |
specific_name | sql_identifier | The “specific name” of the function. See Section 36.40 for more information. |