Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UztL4-0002dt-74 for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Jul 2013 18:54:06 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1UztL3-0001YW-Fv for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Jul 2013 18:54:05 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UztL0-0001UP-QQ for pgsql-bugs@postgresql.org; Thu, 18 Jul 2013 18:54:02 +0000 Received: from smtp.01.com ([199.36.142.181] helo=smtp-out-2.01.com) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1UztKy-0000W1-5P for pgsql-bugs@postgresql.org; Thu, 18 Jul 2013 18:54:02 +0000 Received: from localhost (localhost [127.0.0.1]) by smtp-out-2.01.com (Postfix) with ESMTP id BDE86390138; Thu, 18 Jul 2013 13:53:58 -0500 (CDT) X-Virus-Scanned: amavisd-new at smtp-out-2.01.com Received: from smtp-out-2.01.com ([127.0.0.1]) by localhost (smtp-out-2.01.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id i6Sx7_3cFdSP; Thu, 18 Jul 2013 13:53:58 -0500 (CDT) Received: from smtp-out-2.01.com (localhost [127.0.0.1]) by smtp-out-2.01.com (Postfix) with ESMTP id 9A042390130; Thu, 18 Jul 2013 13:53:58 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by smtp-out-2.01.com (Postfix) with ESMTP id 8A0343901EB; Thu, 18 Jul 2013 13:53:58 -0500 (CDT) X-Virus-Scanned: amavisd-new at smtp-out-2.01.com Received: from smtp-out-2.01.com ([127.0.0.1]) by localhost (smtp-out-2.01.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id 9X6bmnvo1DhU; Thu, 18 Jul 2013 13:53:58 -0500 (CDT) Received: from [10.10.10.20] (8.202-62-69.ftth.swbr.surewest.net [69.62.202.8]) by smtp-out-2.01.com (Postfix) with ESMTPSA id CFDA0390130; Thu, 18 Jul 2013 13:53:57 -0500 (CDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Subject: Re: BUG #8315: GRANTS allowed on extension functions, but not dumped by pg_dump From: Jeff Frost In-Reply-To: Date: Thu, 18 Jul 2013 11:53:52 -0700 Cc: pgsql-bugs@postgresql.org Content-Transfer-Encoding: 7bit Message-Id: <6419636A-E484-4A25-91AF-72199CAD3340@pgexperts.com> References: <4952.1374173266@sss.pgh.pa.us> To: Tom Lane X-Mailer: Apple Mail (2.1508) X-Pg-Spam-Score: 0.8 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org On Jul 18, 2013, at 11:47 AM, Tom Lane 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