35.37. role_table_grants #
Представление role_table_grants описывает все назначенные для таблиц и представлений права, в которых праводателем или правообладателем является роль, активная в данный момент. Дополнительную информацию можно найти в table_privileges. Единственное существенное отличие этого представления от table_privileges состоит в том, что в данном представлении опускаются таблицы, которые доступны текущему пользователю косвенно через роль PUBLIC.
Таблица 35.35. Столбцы role_table_grants
Тип столбца Описание |
|---|
Имя роли, давшей право (праводатель) |
Имя роли, которой было дано право (правообладатель) |
Имя базы данных, содержащей таблицу (всегда текущая база) |
Имя схемы, содержащей таблицу |
Имя таблицы |
Тип права: |
|
В стандарте SQL имеется отдельное подчинённое разрешение |
35.37. role_table_grants #
The view role_table_grants identifies all privileges granted on tables or views where the grantor or grantee is a currently enabled role. Further information can be found under table_privileges. The only effective difference between this view and table_privileges is that this view omits tables that have been made accessible to the current user by way of a grant to PUBLIC.
Table 35.35. role_table_grants Columns
Column Type Description |
|---|
Name of the role that granted the privilege |
Name of the role that the privilege was granted to |
Name of the database that contains the table (always the current database) |
Name of the schema that contains the table |
Name of the table |
Type of the privilege: |
|
In the SQL standard, |