pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: Carol Walter <walterc@indiana.edu>
Cc: pgsql-admin@postgresql.org
Subject: Re: data from system tables.
Date: Mon, 26 Mar 2007 22:03:35 -0600
Message-ID: <20070327040335.GA96360@winnie.fuhr.org> (raw)
In-Reply-To: <27404C5B-E60A-4C4A-9C4F-0F353AA3FF72@indiana.edu>
References: <27404C5B-E60A-4C4A-9C4F-0F353AA3FF72@indiana.edu>

On Mon, Mar 26, 2007 at 04:45:01PM -0400, Carol Walter wrote:
> 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?

Look at the SQL that psql executes for its \d commands:

\set ECHO_HIDDEN
\du

See also the "System Catalogs" chapter in the documentation for the
version you're running.  Here's the link for 8.2:

http://www.postgresql.org/docs/8.2/interactive/catalogs.html

-- 
Michael Fuhr



view thread (3+ messages)

Message-ID: <20070327040335.GA96360@winnie.fuhr.org>
Permalink:  ../20070327040335.GA96360@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20070327040335.GA96360@winnie.fuhr.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: mike@fuhr.org, walterc@indiana.edu
  Subject: Re: data from system tables.
  In-Reply-To: <20070327040335.GA96360@winnie.fuhr.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox