Re: error regarding creating a database - Mailing list pgsql-novice

From Andreas Kretschmer
Subject Re: error regarding creating a database
Date
Msg-id 20110502073018.GA11589@tux
Whole thread Raw
In response to error regarding creating a database  (siva kiran balijepalli <b.sivakiran@gmail.com>)
List pgsql-novice
siva kiran balijepalli <b.sivakiran@gmail.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°

pgsql-novice by date:

Previous
From: siva kiran balijepalli
Date:
Subject: error regarding creating a database
Next
From: Grzegorz Szpetkowski
Date:
Subject: Re: error regarding creating a database