X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 16C78474E4F for ; Fri, 14 Feb 2003 08:58:42 -0500 (EST) Received: from ns3.biznetindia.com (unknown [203.200.89.83]) by postgresql.org (Postfix) with ESMTP id F24D1474E42 for ; Fri, 14 Feb 2003 08:58:38 -0500 (EST) Received: from mail.linux-delhi.org ([203.94.202.81]) by ns3.biznetindia.com (8.12.5/8.12.5) with ESMTP id h1EDwUMR024756 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK) for ; Fri, 14 Feb 2003 19:28:39 +0530 Received: from mail.linux-delhi.org (localhost [127.0.0.1]) by mail.linux-delhi.org (8.12.5/8.12.5) with ESMTP id h1EDwTaH003147 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Fri, 14 Feb 2003 19:28:29 +0530 Received: (from raju@localhost) by mail.linux-delhi.org (8.12.5/8.12.5/Submit) id h1EDwTXa003143; Fri, 14 Feb 2003 19:28:29 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15948.62980.757323.308651@mail.linux-delhi.org> Date: Fri, 14 Feb 2003 19:28:28 +0530 To: pgsql-admin@postgresql.org Subject: Re: Users and groups In-Reply-To: <3938.1045196214@sss.pgh.pa.us> References: <15948.26546.900701.127373@mail.linux-delhi.org> <3938.1045196214@sss.pgh.pa.us> X-Mailer: VM 7.07 under 21.4 (patch 8) "Honest Recruiter" XEmacs Lucid From: Raj Mathur X-Spam-Status: No, hits=-0.5 required=5.0 tests=IN_REP_TO,REFERENCES,SPAM_PHRASE_00_01 version=2.43 X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200302/224 X-Sequence-Number: 7422 >>>>> "Tom" == Tom Lane writes: Tom> Raj Mathur writes: >> ... However, the complementary process, determining all the >> users in group administrators, isn't so clean. Tom> Doesn't select grolist from pg_group where groname = Tom> 'administrators' do it for you? I suppose you might want the Tom> thing to map sysids back to usernames ... Ah, maybe I should have been more explicit: need a list of usename's of users who are admins. Any simple command (set) to do that? Regards, -- Raju -- Raj Mathur raju@kandalaya.org http://kandalaya.org/ It is the mind that moves