Re: [GENERAL] Listing databases

2004-05-05 Thread Mark Harrison
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. Thanks, Doug

Re: [GENERAL] Listing databases

2004-05-05 Thread Adam Witney
If you attach with psql then just use \l Or this works as well SELECT datname from pg_database; > 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

Re: [GENERAL] Listing databases

2004-05-05 Thread Mike Nolan
> 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. Use the \l command wit

Re: [GENERAL] Listing databases

2004-05-05 Thread Joshua D. Drake
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

[GENERAL] Listing databases

2004-05-05 Thread Doug Hall
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. Thanks, Doug Hall