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

37.21. domain_constraints #

The view <literal>domain_constraints</literal> contains all constraints belonging to domains defined in the current database. Only those domains are shown that the current user has access to (by way of being the owner or having some privilege). domain_constraintsビューには、現在有効なロールが所有するドメインに属する全ての制約があります。 現在のユーザが(所有者である、権限を持っているなどの方法で)アクセスできるドメインのみが示されます。

表37.19 domain_constraintsの列

<title><structname>domain_constraints</structname> Columns</title>

Column Type 列 型

Description 説明

constraint_catalog sql_identifier

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

constraint_schema sql_identifier

Name of the schema that contains the constraint 制約を持つスキーマの名前です。

constraint_name sql_identifier

Name of the constraint 制約の名前です。

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 ドメインの名前です。

is_deferrable yes_or_no

<literal>YES</literal> if the constraint is deferrable, <literal>NO</literal> if not 制約が遅延可能ならばYES。さもなくばNO

initially_deferred yes_or_no

<literal>YES</literal> if the constraint is deferrable and initially deferred, <literal>NO</literal> if not 制約が遅延可能で初期状態が遅延であればYES。さもなくばNO