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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: CREATE DATABASE fails when template1 being accessed ...
Дата
Msg-id 17108.1117565349@sss.pgh.pa.us
обсуждение исходный текст
Ответ на CREATE DATABASE fails when template1 being accessed ...  ("Marc G. Fournier" <scrappy@postgresql.org>)
Ответы Re: CREATE DATABASE fails when template1 being accessed ...  (Alvaro Herrera <alvherre@surnet.cl>)
Список pgsql-hackers
"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 ...
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Jeffrey W. Baker"
Дата:
Сообщение: Re: Consumer-grade vs enterprise-grade disk drives
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: CREATE DATABASE fails when template1 being accessed ...