Re: Problem with "create database ... with template "

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Problem with "create database ... with template "
Дата
Msg-id 46421B25.6060706@dunslane.net
обсуждение исходный текст
Ответ на Re: Problem with "create database ... with template "  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

Tom Lane wrote:
> Your test case simply shows that it takes a finite amount of time for
> the previous backend to exit; depending on scheduler priorities it's
> possible for the next instance to connect and try to CREATE DATABASE
> before the previous one is gone.  My suggestion would be to connect
> to some other database besides the one being copied.
>
>     
>   

Didn't we invent the "postgres" database for just this reason?

cheers

andrew


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Problem with "create database ... with template "
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PERFORM] Cannot make GIN intarray index be used by the planner