33.21. domain_udt_usage

Note: The following description applies both to Postgres-XC and PostgreSQL if not described explicitly. You can read PostgreSQL as Postgres-XC except for version number, which is specific to each product.

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 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