34.15. column_udt_usage

Представление column_udt_usage описывает все столбцы, которые используют типы данных, принадлежащие текущей активной роли. Заметьте, что в PostgreSQL встроенные типы данных не отличаются от определённых пользователем, так что в этом представлении выводятся и они. За подробностями обратитесь к Разделу 34.16.

Таблица 34.13. Столбцы column_udt_usage

ИмяТип данныхОписание
udt_catalogsql_identifierИмя базы данных, в которой определён тип (если применимо, нижележащий тип домена) столбца (всегда текущая база)
udt_schemasql_identifierИмя схемы, в которой определён тип (если применимо, нижележащий тип домена) столбца (всегда текущая база)
udt_namesql_identifierИмя типа данных столбца (если применимо, нижележащий тип домена)
table_catalogsql_identifierИмя базы данных, содержащей таблицу (всегда текущая база)
table_schemasql_identifierИмя схемы, содержащей таблицу
table_namesql_identifierИмя таблицы
column_namesql_identifierИмя столбца

36.30. foreign_table_options

The view foreign_table_options contains all the options defined for foreign tables in the current database. Only those foreign tables are shown that the current user has access to (by way of being the owner or having some privilege).

Table 36.28. foreign_table_options Columns

Column Type

Description

foreign_table_catalog sql_identifier

Name of the database that contains the foreign table (always the current database)

foreign_table_schema sql_identifier

Name of the schema that contains the foreign table

foreign_table_name sql_identifier

Name of the foreign table

option_name sql_identifier

Name of an option

option_value character_data

Value of the option