1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Doc: clarify that REASSIGN OWNED doesn't handle default privileges.

It doesn't touch regular privileges either, but only the latter was
explicitly stated.

Discussion: https://postgr.es/m/155348282848.9808.12629518043813943231@wrigleys.postgresql.org
This commit is contained in:
Tom Lane
2019-03-25 17:18:05 -04:00
parent 8edd0e7946
commit b3bd819632
2 changed files with 6 additions and 4 deletions

View File

@@ -88,9 +88,11 @@ REASSIGN OWNED BY { <replaceable class="parameter">old_role</replaceable> | CURR
<para>
The <command>REASSIGN OWNED</command> command does not affect any
privileges granted to the <replaceable class="parameter">old_roles</replaceable> for
objects that are not owned by them. Use <command>DROP OWNED</command> to
revoke such privileges.
privileges granted to
the <replaceable class="parameter">old_roles</replaceable> on objects
that are not owned by them. Likewise, it does not affect default
privileges created with <command>ALTER DEFAULT PRIVILEGES</command>.
Use <command>DROP OWNED</command> to revoke such privileges.
</para>
<para>