32.23. role_table_grants

視圖 role_table_grants 標識在表或者視圖上賦予的當前用戶所在組的全部權限。 更多信息可以在 table_privileges 找到。

Table 32-21. role_table_grants Columns

名字數據類型描述
grantorsql_identifier被賦予權限的用戶名
granteesql_identifier被賦予權限的組的名字
table_catalogsql_identifier包含此表的數據庫的名字(總是當前數據庫)
table_schemasql_identifier包含此表的模式的名字
table_namesql_identifier表的名字
privilege_typecharacter_data 權限類型: SELECTDELETEINSERTUPDATEREFERENCESRULE,或者 TRIGGER
is_grantablecharacter_data如果權限可以賦予則為 YES,如果不是,則為 NO
with_hierarchycharacter_data應用于一個 PostgreSQL 裡沒有的特性