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

37.58. udt_privileges #

The view <literal>udt_privileges</literal> identifies <literal>USAGE</literal> privileges granted on user-defined types to a currently enabled role or by a currently enabled role. There is one row for each combination of type, grantor, and grantee. This view shows only composite types (see under <xref linkend="infoschema-user-defined-types"/> for why); see <xref linkend="infoschema-usage-privileges"/> for domain privileges. udt_privilegesビューは、現在有効なロールが付与者または被付与者である、ユーザ定義型に付与されたUSAGE権限を示します。 型、付与者、被付与者の組み合わせごとに行があります。 このビューは複合データ型のみを表示します(理由は37.60を参照してください)。 ドメイン権限については37.59を参照してください。

表37.56 udt_privilegesの列

<title><structname>udt_privileges</structname> Columns</title>

Column Type 列 型

Description 説明

grantor sql_identifier

Name of the role that granted the privilege 権限を与えたロールの名前です。

grantee sql_identifier

Name of the role that the privilege was granted to 権限を与えられたロールの名前です。

udt_catalog sql_identifier

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

udt_schema sql_identifier

Name of the schema containing the type 型を持つスキーマの名前

udt_name sql_identifier

Name of the type 型の名前

privilege_type character_data

Always <literal>TYPE USAGE</literal> 常にTYPE USAGE

is_grantable yes_or_no

<literal>YES</literal> if the privilege is grantable, <literal>NO</literal> if not この権限を付与可能な場合はYES、さもなくばNOです。