39.49. table_privileges
Представление table_privileges описывает все права для таблиц и представлений, предоставленные роли или ролью, активной в данный момент. Оно содержит отдельную строку для каждой комбинации таблицы, праводателя и правообладателя.
Таблица 39.47. Столбцы table_privileges
Тип столбца Описание |
|---|
Имя роли, давшей право (праводатель) |
Имя роли, которой было дано право (правообладатель) |
Имя базы данных, содержащей таблицу (всегда текущая база) |
Имя схемы, содержащей таблицу |
Имя таблицы |
Тип права: |
|
В стандарте SQL имеется отдельное подчинённое разрешение |
39.49. table_privileges
The view table_privileges identifies all privileges granted on tables or views to a currently enabled role or by a currently enabled role. There is one row for each combination of table, grantor, and grantee.
Table 39.47. table_privileges 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, |