Postgresql 中文操作指南
37.16. column_udt_usage #
视图 column_udt_usage 标识所有使用由当前启用的角色拥有的数据类型的列。请注意,在 PostgreSQL 中,内置数据类型如同用户定义类型,因此它们也包含在此。有关详细信息,请参见 Section 37.17。
The view column_udt_usage identifies all columns that use 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. See also Section 37.17 for details.
Table 37.14. column_udt_usage Columns
Table 37.14. column_udt_usage Columns
Column Type Description |
udt_catalog sql_identifier Name of the database that the column data type (the underlying type of the domain, if applicable) is defined in (always the current database) |
udt_schema sql_identifier Name of the schema that the column data type (the underlying type of the domain, if applicable) is defined in |
udt_name sql_identifier Name of the column data type (the underlying type of the domain, if applicable) |
table_catalog sql_identifier Name of the database containing the table (always the current database) |
table_schema sql_identifier Name of the schema containing the table |
table_name sql_identifier Name of the table |
column_name sql_identifier Name of the column |