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

37.41. routine_privileges #

The view <literal>routine_privileges</literal> identifies all privileges granted on functions to a currently enabled role or by a currently enabled role. There is one row for each combination of function, grantor, and grantee. routine_privilegesビューは、現在有効なロールに与えられた権限、あるいは現在有効なロールによって関数に与えられた権限を全て示します。 関数、権限の譲与者と被譲与者の組み合わせごとに1行あります。

表37.39 routine_privilegesの列

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

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です。