mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
Add support for privileges on types
This adds support for the more or less SQL-conforming USAGE privilege on types and domains. The intent is to be able restrict which users can create dependencies on types, which restricts the way in which owners can alter types. reviewed by Yeb Havinga
This commit is contained in:
@ -1048,7 +1048,7 @@ testdb=>
|
||||
pattern or the <literal>S</literal> modifier to include system
|
||||
objects.
|
||||
If <literal>+</literal> is appended to the command name, each object
|
||||
is listed with its associated description.
|
||||
is listed with its associated permissions and description.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
@ -1387,8 +1387,8 @@ testdb=>
|
||||
If <replaceable class="parameter">pattern</replaceable> is
|
||||
specified, only types whose names match the pattern are listed.
|
||||
If <literal>+</literal> is appended to the command name, each type is
|
||||
listed with its internal name and size, as well as its allowed values
|
||||
if it is an <type>enum</> type.
|
||||
listed with its internal name and size, its allowed values
|
||||
if it is an <type>enum</> type, and its associated permissions.
|
||||
By default, only user-created objects are shown; supply a
|
||||
pattern or the <literal>S</literal> modifier to include system
|
||||
objects.
|
||||
|
Reference in New Issue
Block a user