33.12. column_domain_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 column_domain_usage identifies all columns (of a table or a view) that make use of some domain defined in the current database and owned by a currently enabled role.

Table 33-10. column_domain_usage Columns

NameData TypeDescription
domain_catalogsql_identifierName of the database containing the domain (always the current database)
domain_schemasql_identifierName of the schema containing the domain
domain_namesql_identifierName of the domain
table_catalogsql_identifierName of the database containing the table (always the current database)
table_schemasql_identifierName of the schema containing the table
table_namesql_identifierName of the table
column_namesql_identifierName of the column