Postgresql 中文操作指南

37.22. domain_udt_usage #

视图_domain_udt_usage_标识所有基于当前已启用角色所拥有的数据类型的域。请注意,在 PostgreSQL 中,内置数据类型表现得像用户定义类型,因此它们也包含在此处。

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 37.20. domain_udt_usage Columns

Table 37.20. domain_udt_usage Columns

Column 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