creating databases - Mailing list pgsql-novice

From Marcel Wolf
Subject creating databases
Date
Msg-id 4003FD7D.1080109@comcast.net
Whole thread Raw
Responses Re: creating databases  (Devrim GUNDUZ <devrim@gunduz.org>)
List pgsql-novice
Hi
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?
Thanks
Marcel


pgsql-novice by date:

Previous
From: "Eric S. Johansson"
Date:
Subject: Re: PostgreSQL booting automaticaly
Next
From: Devrim GUNDUZ
Date:
Subject: Re: creating databases