Re: Race condition in create table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Race condition in create table
Дата
Msg-id 22700.1539093909@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Race condition in create table  (Konstantin Knizhnik <k.knizhnik@postgrespro.ru>)
Список pgsql-hackers
Konstantin Knizhnik <k.knizhnik@postgrespro.ru> writes:
> I wonder if it is considered to be expected behavior that concurrent 
> execution of "create table if not exists" may return errors:

No, there's not a guarantee that IF NOT EXISTS will work in such
scenarios.  As with everything else about that feature, it's a
quick-and-dirty, not very well designed effort.

            regards, tom lane


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Proposal for Signal Detection Refactoring
Следующее
От: Tom Lane
Дата:
Сообщение: Re: executor relation handling