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

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: CREATE DATABASE fails when template1 being accessed ...
Дата
Msg-id 20050531200059.GD9257@surnet.cl
обсуждение исходный текст
Ответ на Re: CREATE DATABASE fails when template1 being accessed ...  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: CREATE DATABASE fails when template1 being accessed ...  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Deadlock with tsearch2 index ...
Следующее
От: Tom Lane
Дата:
Сообщение: Quick-and-dirty compression for WAL backup blocks