Redrock Postgres 搜索 英文
版本: 9.3 / 9.4 / 9.5 / 9.6 / 10 / 11 / 12 / 13 / 14 / 15 / 16 / 17

35.38 role_udt_grants #

视图 role_udt_grants 用于标识在用户定义类型中授予的 USAGE 权限,其中授权者或被授权者是当前启用的角色。有关详细信息,请参阅 udt_privileges。此视图与 udt_privileges 之间唯一的有效区别在于,此视图将通过授予 PUBLIC 而对当前用户可访问的对象省略。由于数据类型在 PostgreSQL 中没有真正的权限,但只对 PUBLIC 有隐式授予权限,因此此视图为空。

表 35.36 role_udt_grants

列类型

说明

grantor sql_identifier

授予该权限的角色名称

grantee sql_identifier

授予该权限的角色的名称

udt_catalog sql_identifier

包含该类型的数据库的名称(始终为当前数据库)

udt_schema sql_identifier

包含该类型的模式名称

udt_name sql_identifier

类型的名称

privilege_type character_data

始终为 TYPE USAGE

is_grantable yes_or_no

如果该权限可授予,则为 YES,否则为 NO