Re: Listing databases

From: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
To: Doug Hall <doug_hall(at)aidt(dot)edu>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Listing databases
Date: 2004-05-05 21:45:14
Message-ID: 4099606A.3000203@commandprompt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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.
>

select * from pg_database;

> Thanks,
> Doug Hall
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)

--
Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC
Postgresql support, programming shared hosting and dedicated hosting.
+1-503-667-4564 - jd(at)commandprompt(dot)com - http://www.commandprompt.com
Mammoth PostgreSQL Replicator. Integrated Replication for PostgreSQL

Attachment Content-Type Size
jd.vcf text/x-vcard 640 bytes

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John Sidney-Woollett 2004-05-05 21:50:16 Re: Load Balancing and Backup
Previous Message CSN 2004-05-05 21:40:31 sql standard: \' or ''