pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: Thanh Q Lam <thanh.q.lam@alcatel.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: How to list user accounts?
Date: Tue, 12 Jul 2005 13:16:58 -0600
Message-ID: <20050712191658.GA86144@winnie.fuhr.org> (raw)
In-Reply-To: <42D4130F.4060009@alcatel.com>
References: <42D4130F.4060009@alcatel.com>

On Tue, Jul 12, 2005 at 02:59:27PM -0400, Thanh Q Lam wrote:
> 
> Is there a command/option to list all database user accounts in postgres?

If you're using psql then see "Meta-Commands" in the psql documentation;
otherwise see your client's documentation.  You could also query
the system catalogs directly.

http://www.postgresql.org/docs/8.0/static/app-psql.html
http://www.postgresql.org/docs/8.0/static/catalogs.html

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/



view thread (4+ messages)

Message-ID: <20050712191658.GA86144@winnie.fuhr.org>
Permalink:  ../20050712191658.GA86144@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20050712191658.GA86144@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mike@fuhr.org, thanh.q.lam@alcatel.com
  Subject: Re: How to list user accounts?
  In-Reply-To: <20050712191658.GA86144@winnie.fuhr.org>
  References: <42D4130F.4060009@alcatel.com> <20050712191658.GA86144@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