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

37.36. role_routine_grants #

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

表37.34 role_routine_grantsの列

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

specific_catalog sql_identifier

Name of the database containing the function (always the current database) 関数が含まれるデータベースの名前です(常に現在のデータベースです)。

specific_schema sql_identifier

Name of the schema containing the function 関数が含まれるスキーマの名前です。

specific_name sql_identifier

The <quote>specific name</quote> of the function. See <xref linkend="infoschema-routines"/> for more information. 関数の仕様名称です。 詳細は37.45を参照してください。

routine_catalog sql_identifier

Name of the database containing the function (always the current database) 関数が含まれるデータベースの名前です(常に現在のデータベースです)。

routine_schema sql_identifier

Name of the schema containing the function 関数が含まれるスキーマの名前です。

routine_name sql_identifier

Name of the function (might be duplicated in case of overloading) 関数の名前です(オーバーロードされている場合は重複する可能性があります)。

privilege_type character_data

Always <literal>EXECUTE</literal> (the only privilege type for functions) 常にEXECUTEです(関数用の唯一の権限です)。

is_grantable yes_or_no

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