Creating a database with psql

From: Josef Springer <Josef(dot)Springer(at)JOOPS(dot)COM>
To: pgsql-general(at)postgresql(dot)org
Subject: Creating a database with psql
Date: 2005-07-20 09:28:23
Message-ID: 42DE1937.6070704@joops.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

i want to automate the startup of my database. So i have to create first
an user and a database, second the schema, all with psql. But how can i
create a database with psql if no database exist ? Executing psql, i
must define the options for a database and an user with password.

Best Regards,
Josef Springer

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrus 2005-07-20 09:45:28 Re: Postgres crashes,help to recover
Previous Message Andrus 2005-07-20 09:20:20 Re: Postgres crashes,help to recover