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

37.35. role_column_grants #

The view <literal>role_column_grants</literal> identifies all privileges granted on columns where the grantor or grantee is a currently enabled role. Further information can be found under <literal>column_privileges</literal>. The only effective difference between this view and <literal>column_privileges</literal> is that this view omits columns that have been made accessible to the current user by way of a grant to <literal>PUBLIC</literal>. role_column_grantsビューは、譲与者または被譲与者が現在有効なロールである場合、列に付与された全ての権限を示します。 詳細な情報はcolumn_privilegesの中にあります。 このビューとcolumn_privilegesとの間の実質的な違いは、このビューでは現在のユーザがPUBLICに与えられた権限によりアクセスできるようになった列を省略していることだけです。

表37.33 role_column_grantsの列

<title><structname>role_column_grants</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 権限を与えられたロールの名前です。

table_catalog sql_identifier

Name of the database that contains the table that contains the column (always the current database) その列を含むテーブルを持つデータベースの名前です(常に現在のデータベースです)。

table_schema sql_identifier

Name of the schema that contains the table that contains the column その列を含むテーブルを持つスキーマの名前です。

table_name sql_identifier

Name of the table that contains the column その列を含むテーブルの名前です。

column_name sql_identifier

Name of the column 列の名前です。

privilege_type character_data

Type of the privilege: <literal>SELECT</literal>, <literal>INSERT</literal>, <literal>UPDATE</literal>, or <literal>REFERENCES</literal> 権限の種類です。 SELECTINSERTUPDATE、もしくはREFERENCESです。

is_grantable yes_or_no

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