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

35.35. role_column_grants #

视图 role_column_grants 标识授予对列的所有权限,其中授予者或被授予者是当前已启用的角色。在 column_privileges 中可以找到更多信息。此视图与 column_privileges 之间唯一有效的区别在于,此视图会省略通过授予 PUBLIC 而对当前用户可访问的列。

表 35.33. role_column_grants

列类型

说明

grantor sql_identifier

授予权限的角色名称

grantee sql_identifier

授予权限的角色名称

table_catalog sql_identifier

包含包含该列的表的数据库的名称(始终是当前数据库)

table_schema sql_identifier

包含包含该列的表的架构的名称

table_name sql_identifier

包含该列的表的名称

column_name sql_identifier

列的名称

privilege_type character_data

权限类型:SELECTINSERTUPDATEREFERENCES

is_grantable yes_or_no

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