36.38. role_udt_grants
Представление role_udt_grants предназначено для отображения прав USAGE, назначенных для пользовательских типов, в которых праводателем или правообладателем является роль, активная в данный момент. Дополнительную информацию можно найти в udt_privileges. Единственное существенное отличие этого представления от udt_privileges состоит в том, что в данном представлении опускаются объекты, которые доступны текущему пользователю косвенно через роль PUBLIC. Так как с типами данных не связываются действующие права в Postgres Pro (только PUBLIC неявно даётся право их использования), это представление пустое.
Таблица 36.36. Столбцы role_udt_grants
Тип столбца Описание |
|---|
Имя роли, которая дала это право |
Имя роли, которой было дано это право |
Имя базы данных, содержащей тип (всегда текущая база) |
Имя схемы, содержащей тип |
Имя типа |
Всегда |
|
36.38. role_udt_grants
The view role_udt_grants is intended to identify USAGE privileges granted on user-defined types where the grantor or grantee is a currently enabled role. Further information can be found under udt_privileges. The only effective difference between this view and udt_privileges is that this view omits objects that have been made accessible to the current user by way of a grant to PUBLIC. Since data types do not have real privileges in Postgres Pro, but only an implicit grant to PUBLIC, this view is empty.
Table 36.36. role_udt_grants Columns
Column Type Description |
|---|
The name of the role that granted the privilege |
The 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 |
|