Re: REASSIGN OWNED command page is not clear regarding to DEFAULT PRIVILEGE objects.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: brandon(dot)hsu(at)omniwaresoft(dot)com(dot)tw
Cc: pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: REASSIGN OWNED command page is not clear regarding to DEFAULT PRIVILEGE objects.
Date: 2019-03-25 20:41:06
Message-ID: 23831.1553546466@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

PG Doc comments form <noreply(at)postgresql(dot)org> writes:
> Recently I try to drop a role without affecting objects dropped owned by it,
> and try to use REASSIGN OWNED command to transfer ownership.
> But we find DEFAULT PRIVILEGE policies are not transferred.
> ...
> Is it possible to add a note in REASSIGN OWNED page for this behavior?

The REASSIGN OWNED page does mention that it doesn't touch privileges
on non-owned objects, but I agree that it'd be better to be explicit
that that applies to default privileges. Will fix, thanks for reporting!

regards, tom lane

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message Daniel Gustafsson 2019-03-26 12:20:48 Typo in ECPG documentation
Previous Message PG Doc comments form 2019-03-25 03:00:28 REASSIGN OWNED command page is not clear regarding to DEFAULT PRIVILEGE objects.