Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 17EEF632E6E for ; Wed, 5 Aug 2009 17:34:58 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 38283-03 for ; Wed, 5 Aug 2009 20:34:47 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from outmail128152.authsmtp.co.uk (outmail128152.authsmtp.co.uk [62.13.128.152]) by mail.postgresql.org (Postfix) with ESMTP id 7DB4C632B7F for ; Wed, 5 Aug 2009 17:34:47 -0300 (ADT) Received: from mail-c189.authsmtp.com (mail-c189.authsmtp.com [62.13.128.71]) by punt3.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id n75KYgTG079748; Wed, 5 Aug 2009 21:34:42 +0100 (BST) Received: from Sidney-Stratton.local (dsl081-245-111.sfo1.dsl.speakeasy.net [64.81.245.111]) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/Kp) with ESMTP id n75KYepD091022; Wed, 5 Aug 2009 21:34:40 +0100 (BST) Message-ID: <4A79ECDF.4020700@agliodbs.com> Date: Wed, 05 Aug 2009 13:34:39 -0700 From: Josh Berkus Organization: PostgreSQL Experts Inc. User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2 MIME-Version: 1.0 To: Tom Lane CC: Robert Haas , Petr Jelinek , PostgreSQL-development Subject: Re: GRANT ON ALL IN schema References: <4A37BF63.50008@pjmodos.net> <4A37E122.8070303@pjmodos.net> <4A38A956.8080600@pjmodos.net> <4A4DE104.8090605@pjmodos.net> <4A6059B4.5010004@pjmodos.net> <4A607997.3030305@pjmodos.net> <21542.1249492707@sss.pgh.pa.us> <4A79D60D.1090900@agliodbs.com> <603c8f070908051221u676e9d68ya42f5099aafb2e8e@mail.gmail.com> <28123.1249501226@sss.pgh.pa.us> In-Reply-To: <28123.1249501226@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Server-Quench: 678010c4-81ff-11de-a90b-001f29070be2 X-AuthRoute: OCdyZgscClZXSx8a IioLCC5HRQ8+YBZL BAkGMA9GIUINWEQN c1ACcx16LVJbHwkB CnYJWl5XVFd1Wy1z bxRZbBtfZk9QXgRr T0pMQFdNFEs2Bhl6 b0teJhl7dgVEejBx Yk5lEHZcVER7dRV5 X0ZVQzsbZGY0PX1O WUAKagNUcVVIdx9C agIqVj1vNG8XDQIR NCweBQsEdRplAQJp CiYrZXs2ZQ4qOHYn TBAPGDxH X-Authentic-SMTP: 61633136333939.kestrel.dmpriest.net.uk:1849/Kp X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-Virus-Status: No virus detected - but ensure you scan with your own anti-virus system. X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 200908/362 X-Sequence-Number: 143005 > Josh's position that "this should be standard SQL" is nonsense, or > at least he ought to be making that argument to the standards committee > not us. Huh? When did I say that? > If we want something built-in, maybe providing some prefab plpgsql > functions is the way to go. But we'd have to arrive at a consensus > on what best practice of that form looks like. *Built-in* functions are just as good as extra syntax, as far as I'm concerned. Functions which require installing plpgsql, reading the docs, creating a function, pasting it in, and saving it are NOT as good; they are unlikely to ever be used, except by the people who didn't really need them in the first place. -- Josh Berkus PostgreSQL Experts Inc. www.pgexperts.com