PostgreSQL 9.6.6 Documentation
Prev | Up | Chapter 35. The Information Schema | Next

# 35.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 35-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

Prev | Home | Next
`domain_constraints` | Up | `domains`