33.21. domain_udt_usage

Представление domain_udt_usage описывает все домены, которые используют типы данных, принадлежащие текущей активной роли. Заметьте, что в Postgres Pro встроенные типы данных не отличаются от определённых пользователем, так что в этом представлении выводятся и они.

Таблица 33.19. Столбцы domain_udt_usage

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

33.21. domain_udt_usage

The view domain_udt_usage identifies all domains that are based on data types owned by a currently enabled role. Note that in Postgres Pro, built-in data types behave like user-defined types, so they are included here as well.

Table 33.19. domain_udt_usage Columns

NameData TypeDescription
udt_catalogsql_identifierName of the database that the domain data type is defined in (always the current database)
udt_schemasql_identifierName of the schema that the domain data type is defined in
udt_namesql_identifierName of the domain data type
domain_catalogsql_identifierName of the database that contains the domain (always the current database)
domain_schemasql_identifierName of the schema that contains the domain
domain_namesql_identifierName of the domain