X-Original-To: pgsql-interfaces-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3E5235586A for ; Sun, 20 Mar 2005 14:50:36 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 93319-09 for ; Sun, 20 Mar 2005 14:50:33 +0000 (GMT) Received: from jareth.dreamhost.com (jareth.dreamhost.com [66.33.198.201]) by svr1.postgresql.org (Postfix) with ESMTP id 233AC556FC for ; Sun, 20 Mar 2005 14:50:32 +0000 (GMT) Received: from 192.168.1.105 (pD9E8B9D6.dip.t-dialin.net [217.232.185.214]) by jareth.dreamhost.com (Postfix) with ESMTP id 838946B631 for ; Sun, 20 Mar 2005 06:50:34 -0800 (PST) Subject: Discovering privileges From: Murray Cumming To: pgsql-interfaces In-Reply-To: References: <1088799354.3319.110.camel@murrayc_debian> Content-Type: text/plain Date: Sun, 20 Mar 2005 15:50:30 +0100 Message-Id: <1111330231.5820.4.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.0.2 (2.0.2-3) Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.05 tagged_above=0 required=5 tests=FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200503/51 X-Sequence-Number: 5380 I'm using the pg_user and pg_group system tables to discover the list of users, and the groups to which they belong. But how can I discover the privileges that these users and groups have for the various tables. Is this also in one of the system tables? -- Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com