Re: Listing databases - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Listing databases
Date
Msg-id 20040505215823.GE24026@dcc.uchile.cl
Whole thread Raw
In response to Listing databases  (Doug Hall <doug_hall@aidt.edu>)
List pgsql-general
On Wed, May 05, 2004 at 04:20:29PM -0500, 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.

With psql, you can use
psql -l

Else see the pg_database table.

--
Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
"En las profundidades de nuestro inconsciente hay una obsesiva necesidad
de un universo lógico y coherente. Pero el universo real se halla siempre
un paso más allá de la lógica" (Irulan)

pgsql-general by date:

Previous
From: Mike Nolan
Date:
Subject: Re: Listing databases
Next
From: Adam Witney
Date:
Subject: Re: Listing databases