Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
36.59. user_defined_types
Prev UpChapter 36. The Information SchemaHome Next

36.59. user_defined_types

The viewuser_defined_types currently contains all composite types defined in the current database. Only those types are shown that the current user has access to (by way of being the owner or having some privilege).

SQL knows about two kinds of user-defined types: structured types (also known as composite types inPostgreSQL) and distinct types (not implemented inPostgreSQL). To be future-proof, use the columnuser_defined_type_category to differentiate between these. Other user-defined types such as base types and enums, which arePostgreSQL extensions, are not shown here. For domains, seeSection 36.23 instead.

Table 36.57. user_defined_types Columns

NameData TypeDescription
user_defined_type_catalogsql_identifierName of the database that contains the type (always the current database)
user_defined_type_schemasql_identifierName of the schema that contains the type
user_defined_type_namesql_identifierName of the type
user_defined_type_categorycharacter_data Currently alwaysSTRUCTURED
is_instantiableyes_or_noApplies to a feature not available inPostgreSQL
is_finalyes_or_noApplies to a feature not available inPostgreSQL
ordering_formcharacter_dataApplies to a feature not available inPostgreSQL
ordering_categorycharacter_dataApplies to a feature not available inPostgreSQL
ordering_routine_catalogsql_identifierApplies to a feature not available inPostgreSQL
ordering_routine_schemasql_identifierApplies to a feature not available inPostgreSQL
ordering_routine_namesql_identifierApplies to a feature not available inPostgreSQL
reference_typecharacter_dataApplies to a feature not available inPostgreSQL
data_typecharacter_dataApplies to a feature not available inPostgreSQL
character_maximum_lengthcardinal_numberApplies to a feature not available inPostgreSQL
character_octet_lengthcardinal_numberApplies to a feature not available inPostgreSQL
character_set_catalogsql_identifierApplies to a feature not available inPostgreSQL
character_set_schemasql_identifierApplies to a feature not available inPostgreSQL
character_set_namesql_identifierApplies to a feature not available inPostgreSQL
collation_catalogsql_identifierApplies to a feature not available inPostgreSQL
collation_schemasql_identifierApplies to a feature not available inPostgreSQL
collation_namesql_identifierApplies to a feature not available inPostgreSQL
numeric_precisioncardinal_numberApplies to a feature not available inPostgreSQL
numeric_precision_radixcardinal_numberApplies to a feature not available inPostgreSQL
numeric_scalecardinal_numberApplies to a feature not available inPostgreSQL
datetime_precisioncardinal_numberApplies to a feature not available inPostgreSQL
interval_typecharacter_dataApplies to a feature not available inPostgreSQL
interval_precisioncardinal_numberApplies to a feature not available inPostgreSQL
source_dtd_identifiersql_identifierApplies to a feature not available inPostgreSQL
ref_dtd_identifiersql_identifierApplies to a feature not available inPostgreSQL


Prev Up Next
36.58. usage_privileges Home 36.60. user_mapping_options
epubpdf
Go to PostgreSQL 12
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp