Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id DC25E9FB513 for ; Tue, 27 Mar 2007 00:58:29 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 39167-09 for ; Tue, 27 Mar 2007 00:58:26 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 205639FB512 for ; Tue, 27 Mar 2007 00:58:27 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id l2R3wNlC011292; Mon, 26 Mar 2007 23:58:23 -0400 (EDT) To: Carol Walter cc: pgsql-admin@postgresql.org Subject: Re: data from system tables. In-reply-to: <27404C5B-E60A-4C4A-9C4F-0F353AA3FF72@indiana.edu> References: <27404C5B-E60A-4C4A-9C4F-0F353AA3FF72@indiana.edu> Comments: In-reply-to Carol Walter message dated "Mon, 26 Mar 2007 16:45:01 -0400" Date: Mon, 26 Mar 2007 23:58:23 -0400 Message-ID: <11291.1174967903@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/203 X-Sequence-Number: 25027 Carol Walter writes: > We recently began giving our users a ten connection limit. The are > some accounts that have no limit. Some of these should have no limit > because they're system accounts, but others are just users that were > created before we started the limit. Is there a psql command that I > can run with a "where" clause that will let me get a list of everyone > who has no connection limit? Sure, look into pg_authid for negative rolconnlimit entries. regards, tom lane