2025年9月25日: PostgreSQL 18 釋出!
支援的版本: 當前 (18) / 17 / 16 / 15 / 14 / 13
開發版本: devel
不支援的版本: 12 / 11 / 10 / 9.6 / 9.5 / 9.4 / 9.3 / 9.2 / 9.1 / 9.0 / 8.4 / 8.3 / 8.2 / 8.1 / 8.0 / 7.4

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

許可權型別: SELECT, INSERT, UPDATE, 或 REFERENCES

is_grantable yes_or_no

如果許可權可授予,則為 YES,否則為 NO


提交更正

如果您在文件中發現任何不正確之處、與您對特定功能的實際體驗不符之處或需要進一步澄清之處,請使用此表單報告文件問題。