39.54. udt_privileges
Представление udt_privileges описывает права USAGE для пользовательских типов, предоставленных роли или ролью, активной в данный момент. Оно содержит отдельную строку для каждой комбинации типа, праводателя и правообладателя. Это представление показывает только составные типы (почему, говорится в Разделе 39.56); права, затрагивающие домены, описаны в Разделе 39.55.
Таблица 39.52. Столбцы udt_privileges
Тип столбца Описание |
|---|
Имя роли, давшей право (праводатель) |
Имя роли, которой было дано право (правообладатель) |
Имя базы данных, содержащей тип (всегда текущая база) |
Имя схемы, содержащей тип |
Имя типа |
Всегда |
|
39.54. udt_privileges
The view udt_privileges identifies USAGE privileges granted on user-defined types to a currently enabled role or by a currently enabled role. There is one row for each combination of type, grantor, and grantee. This view shows only composite types (see under Section 39.56 for why); see Section 39.55 for domain privileges.
Table 39.52. udt_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 containing the type (always the current database) |
Name of the schema containing the type |
Name of the type |
Always |
|