| Документация по PostgreSQL 9.4.1 | |||
|---|---|---|---|
| Пред. | Уровень выше | Глава 34. Информационная схема | След. |
34.21. domain_udt_usage
Представление domain_udt_usage описывает все домены, которые используют типы данных, принадлежащие текущей активной роли. Заметьте, что в PostgreSQL встроенные типы данных не отличаются от определённых пользователем, так что в этом представлении выводятся и они.
Таблица 34-19. Колонки domain_udt_usage
| Имя | Тип данных | Описание |
|---|---|---|
| udt_catalog | sql_identifier | Имя базы данных, в которой определён тип данных домена (всегда текущая база) |
| udt_schema | sql_identifier | Имя схемы, в которой определён тип данных домена |
| udt_name | sql_identifier | Имя типа данных домена |
| domain_catalog | sql_identifier | Имя базы данных, содержащей домен (всегда текущая база) |
| domain_schema | sql_identifier | Имя схемы, содержащей домен |
| domain_name | sql_identifier | Имя домена |
| Пред. | Начало | След. |
| domain_constraints | Уровень выше | domains |
| PostgreSQL 9.4.1 Documentation | |||
|---|---|---|---|
| Prev | Up | Chapter 34. The Information Schema | Next |
34.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 PostgreSQL, built-in data types behave like user-defined types, so they are included here as well.
Table 34-19. domain_udt_usage Columns
| Name | Data Type | Description |
|---|---|---|
| udt_catalog | sql_identifier | Name of the database that the domain data type is defined in (always the current database) |
| udt_schema | sql_identifier | Name of the schema that the domain data type is defined in |
| udt_name | sql_identifier | Name of the domain data type |
| domain_catalog | sql_identifier | Name of the database that contains the domain (always the current database) |
| domain_schema | sql_identifier | Name of the schema that contains the domain |
| domain_name | sql_identifier | Name of the domain |