PostgreSQL 9.2.4文書 | ||||
---|---|---|---|---|
前のページ | 上に戻る | 第 34章情報スキーマ | 次のページ |
role_udt_grantsビューは、現在有効なロールが付与者また被付与者である、ユーザ定義型に付与されたUSAGE権限を識別することを意図したものです。それ以上の情報はudt_privilegesで見つかります。 このビューとudt_privilegesビューとの間の実質的な違いは、このビューでは現在のユーザがPUBLICに与えられた権限によりアクセスできるようになったオブジェクトを省略していることだけです。 PostgreSQLではデータ型は実際の権限を持たず、PUBLICに対する暗黙の権限付与しか持たないため、このビューは空です。
表 34-35. role_udt_grants Columns
Name | Data Type | Description |
---|---|---|
grantor | sql_identifier | The name of the role that granted the privilege |
grantee | sql_identifier | The 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 TYPE USAGE |
is_grantable | yes_or_no | YES if the privilege is grantable, NO if not |