©
이 문서에서는 PHP 중국어 웹사이트 매뉴얼 풀어 주다
The view role_column_grants identifies all privileges granted on columns where the grantor or grantee is a currently enabled role. Further information can be found under column_privileges. The only effective difference between this view and column_privileges is that this view omits columns that have been made accessible to the current user by way of a grant to public. 视图 role_column_grants 标识那些在字段上赋予当前用户所属组的所有权限。 更多信息可以在 column_privileges中找到。
Table 34-26. 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 |