Re: How do I list all users and all databases. - Mailing list pgsql-general

From Nigel J. Andrews
Subject Re: How do I list all users and all databases.
Date
Msg-id Pine.LNX.4.21.0204151416290.20382-100000@ponder.fairway2k.co.uk
Whole thread Raw
In response to How do I list all users and all databases.  (MattStan <mattstan@blueyonder.co.uk>)
List pgsql-general
On Mon, 8 Apr 2002, MattStan wrote:

> Hi everyone,
>
> During testing of my postgresql install I created several users and
> databases, now I can't remember exactly what I added. Can someone kindly
> tell me how to list all user names and all databases, I can't seem to
> work out how to do this. Thanks for your help.

In psql use \l to get the list of databases and SELECT * FROM pg_user; to get
user information.


--
Nigel J. Andrews
Director

---
Logictree Systems Limited
Computer Consultants


pgsql-general by date:

Previous
From: google@vrane.com (google)
Date:
Subject: Triggers not portable across different pg versions
Next
From: "Dave Menendez"
Date:
Subject: Query planner quirk?