Re: BUG #8315: GRANTS allowed on extension functions, but not dumped by pg_dump - Mailing list pgsql-bugs

From Jeff Frost
Subject Re: BUG #8315: GRANTS allowed on extension functions, but not dumped by pg_dump
Date
Msg-id 6419636A-E484-4A25-91AF-72199CAD3340@pgexperts.com
Whole thread Raw
In response to BUG #8315: GRANTS allowed on extension functions, but not dumped by pg_dump  (jeff@pgexperts.com)
Responses Re: BUG #8315: GRANTS allowed on extension functions, but not dumped by pg_dump
List pgsql-bugs
On Jul 18, 2013, at 11:47 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:

> jeff@pgexperts.com writes:
>> permtest=# create extension dblink;
>> CREATE EXTENSION
>> permtest=# grant EXECUTE on FUNCTION dblink(text) to permtestuser;
>> GRANT
>
> I see no bug here.  This is not different from any other
> property-alteration you might do on an extension member object.
> We allow that (if you have privileges), but it's up to you to keep it
> in sync with the extension definition file.

So, perhaps we could warn users on extension property alterations?

Definitely seems like a gotcha.

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #8315: GRANTS allowed on extension functions, but not dumped by pg_dump
Next
From: Tom Lane
Date:
Subject: Re: BUG #8315: GRANTS allowed on extension functions, but not dumped by pg_dump