Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 3B292632FB9 for ; Tue, 11 May 2010 18:15:20 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 69837-08 for ; Tue, 11 May 2010 21:15:12 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from glacier.frostconsultingllc.com (glacier.frostconsultingllc.com [69.36.227.170]) by mail.postgresql.org (Postfix) with ESMTP id 4819F632DD2 for ; Tue, 11 May 2010 18:15:13 -0300 (ADT) Received: from dsl081-245-111.sfo1.dsl.speakeasy.net ([64.81.245.111] helo=Sidney-Stratton.local) by glacier.frostconsultingllc.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.69) (envelope-from ) id 1OBwnE-0006xu-7h; Tue, 11 May 2010 14:15:10 -0700 Message-ID: <4BE9C8D6.9040603@agliodbs.com> Date: Tue, 11 May 2010 14:15:02 -0700 From: Josh Berkus 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: Lou Picciano CC: pgsql-testers@postgresql.org Subject: Re: testing simple SELECT commands on newly-created databases. Apparently blocked by (lack of) privileges? References: <1987554247.9039561273610460655.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net> In-Reply-To: <1987554247.9039561273610460655.JavaMail.root@sz0093a.westchester.pa.mail.comcast.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201005/27 X-Sequence-Number: 110 Lou, > *[Comments]:* Is this consistent behavior? Is it necessary to > explicitly grant privileges to each object in a database? This is correct, and how it's been for PostgreSQL since at least 7.2. > We are aware of the new ALTER DEFAULT PRIVILEGES command, but, per docs, > it only affects tables (including views), sequences, and functions, > correct? > IE, it cannot affect database privileges. That's correct. However, it's only necessary to set database priveleges once. -- -- Josh Berkus PostgreSQL Experts Inc. http://www.pgexperts.com