Skip site navigation (1) Skip section navigation (2)

Re: error regarding creating a database

From: Grzegorz Szpetkowski <gszpetkowski(at)gmail(dot)com>
To: siva kiran balijepalli <b(dot)sivakiran(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: error regarding creating a database
Date: 2011-05-02 10:54:34
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
2011/5/2 siva kiran balijepalli <b(dot)sivakiran(at)gmail(dot)com>:
> Hi everybody
> i have a error while conencting to the database.
> i am trying to creating a database from the client on a server
> and it is reporting the following error..
> This is the command
> " create database siva_test with owner=siva"
> error: source database "template1" is being accessed by other users
> please help me regarding this
> thanks & regards
> sivakiran .B

If your template0 is same as template1 (probably it is), then you can also use:

create database siva_test with owner=siva template=template0

Grzegorz Szpetkowski

In response to

pgsql-novice by date

Next:From: Francisco LeoveyDate: 2011-05-02 11:58:29
Subject: Re: PgAdmin no longer works on a "clean install" XP SP2
Previous:From: Andreas KretschmerDate: 2011-05-02 07:30:18
Subject: Re: error regarding creating a database

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group