Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 6A85D2E327D for ; Wed, 6 Feb 2008 21:34:17 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 08279-02 for ; Wed, 6 Feb 2008 21:34:13 -0400 (AST) Received: from mtao05.charter.net (mtao05.charter.net [209.225.8.179]) by postgresql.org (Postfix) with ESMTP id 899E52E01E3 for ; Wed, 6 Feb 2008 21:34:13 -0400 (AST) Received: from aarprv04.charter.net ([10.20.200.74]) by mtao05.charter.net (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20080207013401.NBPE9243.mtao05.charter.net@aarprv04.charter.net> for ; Wed, 6 Feb 2008 20:34:01 -0500 Received: from [192.168.1.215] (really [68.186.33.18]) by aarprv04.charter.net with ESMTP id <20080207013401.YRSN17353.aarprv04.charter.net@[192.168.1.215]> for ; Wed, 6 Feb 2008 20:34:01 -0500 From: johnf To: pgsql-sql@postgresql.org Subject: Re: Information schema permissions Date: Wed, 6 Feb 2008 17:33:25 -0800 User-Agent: KMail/1.9.6 (enterprise 20070904.708012) References: <200802061301.35718.jfabiani@yolo.com> <20040.1202341042@sss.pgh.pa.us> In-Reply-To: <20040.1202341042@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200802061733.25506.jfabiani@yolo.com> X-Chzlrs: 0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/47 X-Sequence-Number: 30138 On Wednesday 06 February 2008 03:37:22 pm Tom Lane wrote: > johnf writes: > > Assume a standard install on Linux (what ever that means). Would a > > normal user have access to information schema? I have a front end > > written in python that accesses tables and permissions are set based on > > roles. But I do nothing with respect to the information schema view. I > > would like my program to access the view. Would there be anything > > preventing a standard user from 'SELECT' access? > > The information schema views are accessible to anyone, but be aware that > they show different sets of rows to different people --- you can only > see rows that are about tables that you have some access permissions > for. This might or might not confuse your app ... > > regards, tom lane > > ---------------------------(end of broadcast)--------------------------- > TIP 4: Have you searched our list archives? > > http://archives.postgresql.org Thanks. Actually it would benefit my app. -- John Fabiani