Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 1C80F9FB304 for ; Fri, 19 Jan 2007 15:16:05 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 38568-10 for ; Fri, 19 Jan 2007 15:15:56 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from main2.mycybernet.net (main2.mycybernet.net [209.222.63.140]) by postgresql.org (Postfix) with ESMTP id A31389FB490 for ; Fri, 19 Jan 2007 15:15:56 -0400 (AST) Received: from 227-54-222-209.mycybernet.net ([209.222.54.227] helo=phlogiston.dydns.org) by main2.mycybernet.net with esmtp (Exim 4.62) (envelope-from ) id 1H7zNT-0000rw-3d for pgsql-sql@postgresql.org; Fri, 19 Jan 2007 14:26:19 -0500 Received: by phlogiston.dydns.org (Postfix, from userid 1000) id AB17E4172; Fri, 19 Jan 2007 14:15:45 -0500 (EST) Date: Fri, 19 Jan 2007 14:15:45 -0500 From: Andrew Sullivan To: pgsql-sql@postgresql.org Subject: Re: Permissions Query? Message-ID: <20070119191545.GB29447@phlogiston.dyndns.org> References: <20070119191100.9C6259FB487@postgresql.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070119191100.9C6259FB487@postgresql.org> User-Agent: Mutt/1.5.9i X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/85 X-Sequence-Number: 27237 On Fri, Jan 19, 2007 at 07:11:00PM +0000, paallen@attglobal.net wrote: > I now want to know if the user/role has permision > to the schema.table. > > How do I query to pgsql to know what permissions a > particular user has on the table? Start here: http://www.postgresql.org/docs/8.1/interactive/functions-info.html#FUNCTIONS-INFO-ACCESS-TABLE A -- Andrew Sullivan | ajs@crankycanuck.ca When my information changes, I alter my conclusions. What do you do sir? --attr. John Maynard Keynes