From: Tom Lane <tgl@sss.pgh.pa.us>
To: Stephen Frost <sfrost@snowman.net>
Cc: Moshe Jacobson <moshe@neadwerx.com>
Cc: daniele.varrazzo@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14456: pg_dump doesn't restore permissions on tables belonging to an extension
Date: Thu, 12 Jan 2017 14:16:32 -0500
Message-ID: <13549.1484248592@sss.pgh.pa.us> (raw)
In-Reply-To: <20170112190830.GP18360@tamriel.snowman.net>
References: <20161208191642.1407.30751@wrigleys.postgresql.org>
<20161208192933.GG23417@tamriel.snowman.net>
<CAJ4CxLmGST-UkYzhrS-QbXLoXeYnZPPO7m7b9U=2RRr-cTArHQ@mail.gmail.com>
<20170112183457.GJ18360@tamriel.snowman.net>
<CAJ4CxLk8iAsLVgmv2NAWNoKD3cA+pqJ0UmB9=135DsJzcfEXOg@mail.gmail.com>
<12559.1484247701@sss.pgh.pa.us>
<20170112190830.GP18360@tamriel.snowman.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Stephen Frost <sfrost@snowman.net> writes:
> * Tom Lane (tgl@sss.pgh.pa.us) wrote:
>> Hmm. There's an argument to be made that ALTER EXTENSION ADD should
>> absorb whatever the object's current ACLs are into the pg_init_privs
>> entries for the extension. (I don't think it does that now, though
>> I might be wrong.) However ...
> I've not gone and looked yet, but I doubt that it does. I think I can
> agree with the argument that it really should add those ACLs to
> pg_init_privs. Of course, any furhter manipulation of the ACLs from
> that point will cause those ACLs to be included in the pg_dump.
> I'll take a look at ALTER EXTENSION ADD and pg_init_privs.
By the same token, does ALTER EXTENSION DROP remove those entries?
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, sfrost@snowman.net, moshe@neadwerx.com, daniele.varrazzo@gmail.com
Subject: Re: BUG #14456: pg_dump doesn't restore permissions on tables belonging to an extension
In-Reply-To: <13549.1484248592@sss.pgh.pa.us>
References: <20161208191642.1407.30751@wrigleys.postgresql.org> <20161208192933.GG23417@tamriel.snowman.net> <CAJ4CxLmGST-UkYzhrS-QbXLoXeYnZPPO7m7b9U=2RRr-cTArHQ@mail.gmail.com> <20170112183457.GJ18360@tamriel.snowman.net> <CAJ4CxLk8iAsLVgmv2NAWNoKD3cA+pqJ0UmB9=135DsJzcfEXOg@mail.gmail.com> <12559.1484247701@sss.pgh.pa.us> <20170112190830.GP18360@tamriel.snowman.net> <13549.1484248592@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