9.3 9.4 9.5 9.6 10 11 12 13
阿里云PostgreSQL 问题报告 纠错本页面

34.38. role_usage_grants

视图role_usage_grants用于标出当前角色赋予或被赋予的各种对象的 USAGE权限。更多的信息可以在usage_privileges里找到。 在该视图与usage_privileges 之间实际仅有的差异是该视图忽略那些通过赋权给PUBLIC使当前用户可以访问的对象。

表 34-36. role_usage_grants 字段

名字数据类型描述
grantorsql_identifier赋予该权限的角色名称
granteesql_identifier被赋予该权限的角色的名称
object_catalogsql_identifier包含该对象的数据库的名字(总是当前数据库)
object_schemasql_identifier如果适用,是包含该对象的模式的名字,否则是一个空字符串
object_namesql_identifier对象的名字
object_typecharacter_dataCOLLATIONDOMAINFOREIGN DATA WRAPPERFOREIGN SERVERSEQUENCE
privilege_typecharacter_dataAlways USAGE
is_grantableyes_or_no如果权限可以赋予,则为YES,否则为NO
<
/BODY >