mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-26 19:17:19 +02:00
Doc: improve documentation about ALTER LARGE OBJECT requirements.
Unlike other ALTER ref pages, this one neglected to mention that ALTER OWNER requires being a member of the new owning role. Per bug #15546 from Stefan Kadow. Discussion: https://postgr.es/m/15546-0558c75fd2025e7c@postgresql.org
This commit is contained in:
parent
73822b8c97
commit
9fbe7d9740
@ -30,9 +30,15 @@ ALTER LARGE OBJECT <replaceable class="parameter">large_object_oid</replaceable>
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
<command>ALTER LARGE OBJECT</command> changes the definition of a
|
<command>ALTER LARGE OBJECT</command> changes the definition of a
|
||||||
large object. The only functionality is to assign a new owner.
|
large object.
|
||||||
You must be superuser or owner of the large object to use
|
</para>
|
||||||
<command>ALTER LARGE OBJECT</command>.
|
|
||||||
|
<para>
|
||||||
|
You must own the large object to use <command>ALTER LARGE OBJECT</command>.
|
||||||
|
To alter the owner, you must also be a direct or indirect member of the new
|
||||||
|
owning role. (However, a superuser can alter any large object anyway.)
|
||||||
|
Currently, the only functionality is to assign a new owner, so both
|
||||||
|
restrictions always apply.
|
||||||
</para>
|
</para>
|
||||||
</refsect1>
|
</refsect1>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user