Re: error regarding creating a database

From: Andreas Kretschmer <akretschmer(at)spamfence(dot)net>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: error regarding creating a database
Date: 2011-05-02 07:30:18
Message-ID: 20110502073018.GA11589@tux
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

siva kiran balijepalli <b(dot)sivakiran(at)gmail(dot)com> wrote:

> 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

There is, at least, one other user connected to the template-database
template1, and kept a transaction open. That's the reason, and that's
the solution ...

Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect. (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly." (unknown)
Kaufbach, Saxony, Germany, Europe. N 51.05082°, E 13.56889°

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Grzegorz Szpetkowski 2011-05-02 10:54:34 Re: error regarding creating a database
Previous Message siva kiran balijepalli 2011-05-02 07:18:23 error regarding creating a database