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

Re: CREATE DATABASE fails when template1 being accessed ...

From: Alvaro Herrera <alvherre(at)surnet(dot)cl>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Marc G(dot) Fournier" <scrappy(at)postgresql(dot)org>,pgsql-hackers(at)postgresql(dot)org
Subject: Re: CREATE DATABASE fails when template1 being accessed ...
Date: 2005-05-31 20:01:00
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
On Tue, May 31, 2005 at 02:49:09PM -0400, Tom Lane wrote:
> "Marc G. Fournier" <scrappy(at)postgresql(dot)org> writes:
> > ERROR:  source database "template1" is being accessed by other users
> > Why is this not allowed?
> It's a rather lame attempt to ensure that you don't get a corrupt copy
> due to the database changing while you copy it ... I'd like to find
> a better way to do it ...

You sounded less enthusiastic about it on january:

Alvaro Herrera (<alvherre[a]>)
"Investigación es lo que hago cuando no sé lo que estoy haciendo"
(Wernher von Braun)

In response to


pgsql-hackers by date

Next:From: Tom LaneDate: 2005-05-31 20:26:20
Subject: Quick-and-dirty compression for WAL backup blocks
Previous:From: Tom LaneDate: 2005-05-31 19:20:32
Subject: Re: Deadlock with tsearch2 index ...

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