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

34.34. role_column_grants

视图role_column_grants标识那些在字段上赋予或被赋予为当前角色的所有权限。 更多信息可以在column_privileges中找到。这个视图和column_privileges 唯一有效的不同就是这个视图忽略了某些字段,这些字段是通过授予PUBLIC 使得当前用户可以访问的字段。

表 34-32. role_column_grants 字段

名字数据类型描述
grantorsql_identifier被赋予这个权限的用户名称
granteesql_identifier被赋予这个权限的角色名称
table_catalogsql_identifier包含此字段的表所在的数据库的名字(总是当前数据库)
table_schemasql_identifier包含该字段的表所在模式的名称
table_namesql_identifier包含该字段的表名称
column_namesql_identifier该字段的名称
privilege_typecharacter_data 权限的类型:SELECT,INSERT, UPDATE或者REFERENCES
is_grantableyes_or_no如果权限是可以赋予的,则为YES,否则,为NO
<
/BODY >