Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VJDg0-0000Da-7P for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Sep 2013 02:27:36 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1VJDfz-0000zT-O5 for pgsql-hackers@arkaria.postgresql.org; Tue, 10 Sep 2013 02:27:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VJDfy-0000zK-Rz for pgsql-hackers@postgresql.org; Tue, 10 Sep 2013 02:27:34 +0000 Received: from mout.gmx.net ([212.227.17.21]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1VJDfv-0002W0-F7 for pgsql-hackers@postgresql.org; Tue, 10 Sep 2013 02:27:34 +0000 Received: from [10.0.0.5] ([67.165.8.132]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0MVNDK-1VShUF4AMY-00Yhwl for ; Tue, 10 Sep 2013 04:27:30 +0200 Message-ID: <1378780046.14736.3.camel@vanquo.pezone.net> Subject: Re: Re: Privileges for INFORMATION_SCHEMA.SCHEMATA (was Re: [DOCS] Small clarification in "34.41. schemata") From: Peter Eisentraut To: Bruce Momjian Cc: Tom Lane , Ian Lawrence Barwick , pgsql-hackers@postgresql.org Date: Mon, 09 Sep 2013 22:27:26 -0400 In-Reply-To: <20130907180152.GF11757@momjian.us> References: <11650.1357782995@sss.pgh.pa.us> <510AD8E0.9020005@gmx.net> <20130907180152.GF11757@momjian.us> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.4.4-3 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:RrjouhMIE9BNuFvMceRTXwbz0jXtOqJKsOSQZwiO9Tj+0VboQQW qInld/KhxYFR77TyB4FchSYOSgbiTjQRR4PamHPuA0ty6IblMWBB6gbVVsCNzKpJcfoP/F9 kYbwpOCzHlTNG42LBCxk0BLuU6Wvzn3UEi5nDA5M6OeIoAbmP1R31+WH8F2yZ9X8bXVfSCT CIyDXGafx5FX4woWO2JfA== X-Pg-Spam-Score: -2.8 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On Sat, 2013-09-07 at 14:01 -0400, Bruce Momjian wrote: > > > pg_has_role(n.nspowner, 'USAGE') > > > OR has_schema_privilege(n.oid, 'CREATE, USAGE') > > > > > > As things stand, a non-superuser won't see "public", "pg_catalog", > > > nor even "information_schema" itself in this view, which seems a > > > tad silly. > > > > I agree it would make sense to change this. > > Is this the patch you want applied? The docs are fine? I have committed it with a documentation update. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers