Re: Broken RR?

Поиск
Список
Период
Сортировка
От Christopher Kings-Lynne
Тема Re: Broken RR?
Дата
Msg-id 024601c32b22$f6124220$6500a8c0@fhp.internal
обсуждение исходный текст
Ответ на Broken RR?  ("Rasmus Resen Amossen" <rresena@hotmail.com>)
Список pgsql-hackers
> T1: begin;
> T1: select * from table;
>    (notice the row with id = X)
> T2: begin;
> T2: delete from table where id = X;
> T1: select * from table;
>    (notice the row with id = X suddenly is gone)

You'll need to SELECT ... FOR UPDATE to lock the row, or use the
SERIALIZABLE transaction more I think...

Chris



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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Broken RR?
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: default locale considered harmful? (was Re: [GENERAL]