Re: BUG #8315: GRANTS allowed on extension functions, but not dumped by pg_dump

From: Jeff Frost <jeff(at)pgexperts(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #8315: GRANTS allowed on extension functions, but not dumped by pg_dump
Date: 2013-07-18 18:53:52
Message-ID: 6419636A-E484-4A25-91AF-72199CAD3340@pgexperts.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


On Jul 18, 2013, at 11:47 AM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> jeff(at)pgexperts(dot)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.

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2013-07-18 22:06:24 Re: BUG #8315: GRANTS allowed on extension functions, but not dumped by pg_dump
Previous Message Tom Lane 2013-07-18 18:47:46 Re: BUG #8315: GRANTS allowed on extension functions, but not dumped by pg_dump