if you want known the existence or not of of database, you can use a query like :
select * from pg_database
On Mon, 26 Jan 2004, Marcel Wolf wrote:
> I would like my application to start up and see if the database is there
> if not create it. I am not sure how to do it. When I try and query my
> database I get a fatal error and it won't accept my Create db command.
> Also I am converting from mysql and my table field names are a mixture
> of capitals and small letters. When these strings are passed to the
> database they are always changed to lowercase?
> Thanks for the help
In response to
pgsql-novice by date
|Next:||From: Jeff Eckermann||Date: 2004-01-26 20:53:22|
|Subject: Re: Database creation|
|Previous:||From: Oliver Elphick||Date: 2004-01-26 20:39:01|
|Subject: Re: Problem with pg_hba.conf file in Postgres 7.3|