I am interested in running a PHP app that when it comes up it checks to
see if the requuired database is present. If not it creates it and the
tables required within. I was trying to do this by pg_connect
(dbname=test) and if I got an error I would trying to use pg_query
(CREATE test). This was disallowed because there was no link?
What is the best way of doing this?
pgsql-novice by date
|Next:||From: Devrim GUNDUZ||Date: 2004-01-13 14:17:56|
|Subject: Re: creating databases|
|Previous:||From: Eric S. Johansson||Date: 2004-01-13 13:26:47|
|Subject: Re: PostgreSQL booting automaticaly|