Re: Create db problem - Mailing list pgadmin-support

From Dave Page
Subject Re: Create db problem
Date
Msg-id E7F85A1B5FF8D44C8A1AF6885BC9A0E4011C9A3B@ratbert.vale-housing.co.uk
Whole thread Raw
In response to Create db problem  (Mauro Bertoli <bertolima@yahoo.it>)
List pgadmin-support

> -----Original Message-----
> From: pgadmin-support-owner@postgresql.org
> [mailto:pgadmin-support-owner@postgresql.org] On Behalf Of
> Mauro Bertoli
> Sent: 05 April 2006 09:40
> To: pgadmin-support@postgresql.org
> Subject: [pgadmin-support] Create db problem
>
> Hi, I've some strange behaviours managing databases:
>
> - if I want create a new db from a postgres console
> (psql) I MUST have all pgAdmin clients closed (because
> 'maintenance db' lock postgres db)

That's why PostgreSQL 8.1 has the 'postgres' database so apps like
pgAdmin no longer use template1.

> - using pgAdmin I cannot create a new db using the connected
> db as template

You can only create a DB using a connected DB as a template if you
create the database /from/ that template dattabase, and that is the only
connection to that database.

Regards, Dave


pgadmin-support by date:

Previous
From: Mauro Bertoli
Date:
Subject: Create db problem
Next
From: "Chris Velevitch"
Date:
Subject: ERROR: permission denied for schema public