Re: PL/pgSQL infinite loop in "UPDATE/INSERT" example

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PL/pgSQL infinite loop in "UPDATE/INSERT" example
Дата
Msg-id 2629.1251234222@sss.pgh.pa.us
обсуждение исходный текст
Ответ на PL/pgSQL infinite loop in "UPDATE/INSERT" example  (Michael Brown <mbrown@fensystems.co.uk>)
Список pgsql-general
Michael Brown <mbrown@fensystems.co.uk> writes:
> I believe that Example 38-2 ("Exceptions with UPDATE/INSERT") in the PL/pgSQL
> documentation suffers from a race condition leading to a potential infinite
> loop when running at isolation level SERIALIZABLE.

You're right, it's not designed to work in serializable mode.

            regards, tom lane

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