From: | "Markus Wollny" <Markus(dot)Wollny(at)computec(dot)de> |
---|---|
To: | "Karthik(dot)S" <skarthik(at)midascomm(dot)com>, <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: error in creating database |
Date: | 2005-12-06 15:26:15 |
Message-ID: | 28011CD60FB1724DBA4442E38277F6264A7167@hermes.computec.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Hi!
> -----Ursprüngliche Nachricht-----
> Von: pgsql-general-owner(at)postgresql(dot)org
> [mailto:pgsql-general-owner(at)postgresql(dot)org] Im Auftrag von Karthik.S
> Gesendet: Dienstag, 6. Dezember 2005 13:26
> An: pgsql-general(at)postgresql(dot)org
> Betreff: [GENERAL] error in creating database
>
> Dear all,
>
> I am using postgres version: 7.1.3 in Red hat linux : 7.2.
You should really consider upgrading. There has been a lot of development, both feature-wise and concerning bug-squashing, since the 7.1-days.
> Sometimes (nearly 50% of the times) the database creation
> fails by saying
> "ERROR: CREATE DATABASE: source database "template1" is
> being accessed by other users"
8.1 has introduced the concept of a "maintenance-database", but you can easily do something similar by either creating your db's with "CREATE DATABASE foo WITH TEMPLATE = template0;" (but anything you have changed in template1 after PostgreSQL-installation won't be in your new db then) or simply create another template-database, say template2 for this purpose.
Kind regards
Markus
From | Date | Subject | |
---|---|---|---|
Next Message | Chris Browne | 2005-12-06 15:38:13 | Re: is there any way of specifying "i want x GB of space to be avaialble for my database" |
Previous Message | A. Kretschmer | 2005-12-06 15:21:40 | Re: error in creating database |