pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: brandon.hsu@omniwaresoft.com.tw
Cc: pgsql-docs@lists.postgresql.org
Subject: Re: REASSIGN OWNED command page is not clear regarding to DEFAULT PRIVILEGE objects.
Date: Mon, 25 Mar 2019 16:41:06 -0400
Message-ID: <23831.1553546466@sss.pgh.pa.us> (raw)
In-Reply-To: <155348282848.9808.12629518043813943231@wrigleys.postgresql.org>
References: <155348282848.9808.12629518043813943231@wrigleys.postgresql.org>

PG Doc comments form <noreply@postgresql.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




view thread (3+ messages)  latest in thread

Message-ID: <23831.1553546466@sss.pgh.pa.us>
Permalink:  ../23831.1553546466@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/23831.1553546466@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, brandon.hsu@omniwaresoft.com.tw, pgsql-docs@lists.postgresql.org
  Subject: Re: REASSIGN OWNED command page is not clear regarding to DEFAULT PRIVILEGE objects.
  In-Reply-To: <23831.1553546466@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox