Re: Listing databases

scott.marlowe <scott.marlowe@ihs.com>

From: "scott.marlowe" <scott.marlowe@ihs.com>
To: Doug Hall <doug_hall@aidt.edu>
Cc: <pgsql-general@postgresql.org>
Date: 2004-05-05T21:39:00Z
Lists: pgsql-general
On Wed, 5 May 2004, Doug Hall wrote:

> Sorry for the newbie question, but how do you get PostgreSQL to list 
> the available databases? I know how to log into a certain database, but 
> not list all of them. I know this must be possible because the 
> phppgAdmin web site demonstrates it with their trial server.

Assuming you're in psql just do:

\l