pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jeff Frost <jeff@pgexperts.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #8315: GRANTS allowed on extension functions, but not dumped by pg_dump
Date: Thu, 18 Jul 2013 11:53:52 -0700
Message-ID: <6419636A-E484-4A25-91AF-72199CAD3340@pgexperts.com> (raw)
In-Reply-To: <WM!df26632198a4334666f3553f00bbd555adce117df8a4ee29454fa0c2945b69816eb8906cdfc61cf2bc1e5ce24bacff11!@asav-2.01.com>
References: <E1UzrOw-00065n-Mb@wrigleys.postgresql.org>
	<4952.1374173266@sss.pgh.pa.us>
	<WM!df26632198a4334666f3553f00bbd555adce117df8a4ee29454fa0c2945b69816eb8906cdfc61cf2bc1e5ce24bacff11!@asav-2.01.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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.




-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (4+ messages)  latest in thread

Message-ID: <6419636A-E484-4A25-91AF-72199CAD3340@pgexperts.com>
Permalink:  ../6419636A-E484-4A25-91AF-72199CAD3340@pgexperts.com/
Also on:    postgresql.org/message-id/6419636A-E484-4A25-91AF-72199CAD3340@pgexperts.com

 · 

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 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: jeff@pgexperts.com, tgl@sss.pgh.pa.us
  Subject: Re: BUG #8315: GRANTS allowed on extension functions, but not dumped by pg_dump
  In-Reply-To: <6419636A-E484-4A25-91AF-72199CAD3340@pgexperts.com>
  References: <E1UzrOw-00065n-Mb@wrigleys.postgresql.org> <4952.1374173266@sss.pgh.pa.us> <WM!df26632198a4334666f3553f00bbd555adce117df8a4ee29454fa0c2945b69816eb8906cdfc61cf2bc1e5ce24bacff11!@asav-2.01.com> <6419636A-E484-4A25-91AF-72199CAD3340@pgexperts.com>

* 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