Re: CREATE DATABASE fails when template1 being accessed ... - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: CREATE DATABASE fails when template1 being accessed ...
Date
Msg-id 20050531200059.GD9257@surnet.cl
Whole thread Raw
In response to Re: CREATE DATABASE fails when template1 being accessed ...  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: CREATE DATABASE fails when template1 being accessed ...  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, May 31, 2005 at 02:49:09PM -0400, Tom Lane wrote:
> "Marc G. Fournier" <scrappy@postgresql.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:

http://archives.postgresql.org/pgsql-bugs/2005-01/msg00395.php

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


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Deadlock with tsearch2 index ...
Next
From: Tom Lane
Date:
Subject: Quick-and-dirty compression for WAL backup blocks