バージョンごとのドキュメント一覧

37.60. user_defined_types #

The view <literal>user_defined_types</literal> 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). user_defined_typesビューは、現在は現在のデータベースで定義された全ての複合データ型を含みます。 表示される型は、現在のユーザが(所有者である、何らかの権限を持っているといった方法で)アクセスできるものだけです。

SQL knows about two kinds of user-defined types: structured types (also known as composite types in <productname>PostgreSQL</productname>) and distinct types (not implemented in <productname>PostgreSQL</productname>). To be future-proof, use the column <literal>user_defined_type_category</literal> to differentiate between these. Other user-defined types such as base types and enums, which are <productname>PostgreSQL</productname> extensions, are not shown here. For domains, see <xref linkend="infoschema-domains"/> instead. SQLは二種類のユーザ定義データ型を知っています。構造化型(PostgreSQLでは複合データ型として知られています)と特殊型(PostgreSQLでは実装されていません)。 将来を見越して、user_defined_type_category列をこれらを区別するために使用します。 PostgreSQLの拡張である基本型や列挙型といった他のユーザ定義型はここには表示されません。 ドメインについては代わりに37.23を参照してください。

表37.58 user_defined_typesの列

<title><structname>user_defined_types</structname> Columns</title>

Column Type 列 型

Description 説明

user_defined_type_catalog sql_identifier

Name of the database that contains the type (always the current database) 型を持つデータベースの名前です(常に現在のデータベースです)。

user_defined_type_schema sql_identifier

Name of the schema that contains the type 型を持つスキーマの名前です。

user_defined_type_name sql_identifier

Name of the type 型の名前

user_defined_type_category character_data

Currently always <literal>STRUCTURED</literal> 現在は常にSTRUCTUREDです。

is_instantiable yes_or_no

Applies to a feature not available in <productname>PostgreSQL</productname> PostgreSQLでは利用できない機能に適用されるものです。

is_final yes_or_no

Applies to a feature not available in <productname>PostgreSQL</productname> PostgreSQLでは利用できない機能に適用されるものです。

ordering_form character_data

Applies to a feature not available in <productname>PostgreSQL</productname> PostgreSQLでは利用できない機能に適用されるものです。

ordering_category character_data

Applies to a feature not available in <productname>PostgreSQL</productname> PostgreSQLでは利用できない機能に適用されるものです。

ordering_routine_catalog sql_identifier

Applies to a feature not available in <productname>PostgreSQL</productname> PostgreSQLでは利用できない機能に適用されるものです。

ordering_routine_schema sql_identifier

Applies to a feature not available in <productname>PostgreSQL</productname> PostgreSQLでは利用できない機能に適用されるものです。

ordering_routine_name sql_identifier

Applies to a feature not available in <productname>PostgreSQL</productname> PostgreSQLでは利用できない機能に適用されるものです。

reference_type character_data

Applies to a feature not available in <productname>PostgreSQL</productname> PostgreSQLでは利用できない機能に適用されるものです。

data_type character_data

Applies to a feature not available in <productname>PostgreSQL</productname> PostgreSQLでは利用できない機能に適用されるものです。

character_maximum_length cardinal_number

Applies to a feature not available in <productname>PostgreSQL</productname> PostgreSQLでは利用できない機能に適用されるものです。

character_octet_length cardinal_number

Applies to a feature not available in <productname>PostgreSQL</productname> PostgreSQLでは利用できない機能に適用されるものです。

character_set_catalog sql_identifier

Applies to a feature not available in <productname>PostgreSQL</productname> PostgreSQLでは利用できない機能に適用されるものです。

character_set_schema sql_identifier

Applies to a feature not available in <productname>PostgreSQL</productname> PostgreSQLでは利用できない機能に適用されるものです。

character_set_name sql_identifier

Applies to a feature not available in <productname>PostgreSQL</productname> PostgreSQLでは利用できない機能に適用されるものです。

collation_catalog sql_identifier

Applies to a feature not available in <productname>PostgreSQL</productname> PostgreSQLでは利用できない機能に適用されるものです。

collation_schema sql_identifier

Applies to a feature not available in <productname>PostgreSQL</productname> PostgreSQLでは利用できない機能に適用されるものです。

collation_name sql_identifier

Applies to a feature not available in <productname>PostgreSQL</productname> PostgreSQLでは利用できない機能に適用されるものです。

numeric_precision cardinal_number

Applies to a feature not available in <productname>PostgreSQL</productname> PostgreSQLでは利用できない機能に適用されるものです。

numeric_precision_radix cardinal_number

Applies to a feature not available in <productname>PostgreSQL</productname> PostgreSQLでは利用できない機能に適用されるものです。

numeric_scale cardinal_number

Applies to a feature not available in <productname>PostgreSQL</productname> PostgreSQLでは利用できない機能に適用されるものです。

datetime_precision cardinal_number

Applies to a feature not available in <productname>PostgreSQL</productname> PostgreSQLでは利用できない機能に適用されるものです。

interval_type character_data

Applies to a feature not available in <productname>PostgreSQL</productname> PostgreSQLでは利用できない機能に適用されるものです。

interval_precision cardinal_number

Applies to a feature not available in <productname>PostgreSQL</productname> PostgreSQLでは利用できない機能に適用されるものです。

source_dtd_identifier sql_identifier

Applies to a feature not available in <productname>PostgreSQL</productname> PostgreSQLでは利用できない機能に適用されるものです。

ref_dtd_identifier sql_identifier

Applies to a feature not available in <productname>PostgreSQL</productname> PostgreSQLでは利用できない機能に適用されるものです。