30.21. role_column_grants

视图 role_column_grants 标识那些在字段上赋予当前用户 所属的组的所有权限。更多信息可以在 column_privileges 中找到。

Table 30-19. role_column_grants 字段

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