Re: Locking to restrict rowcounts.

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Locking to restrict rowcounts.
Дата
Msg-id 4A13BD6C.4090002@archonet.com
обсуждение исходный текст
Ответ на Locking to restrict rowcounts.  ("Shakil Shaikh" <sshaikh@hotmail.com>)
Список pgsql-general
Just realised I didn't cc: the list on this. Was obviously having a good
evening.

Richard Huxton wrote:
> Glen Parker wrote:
>  > I still don't think it will work.  Two concurrent transactions could
>> still screw the data up.
>>
>> Before: 9 rows.
>> Tx 1: See 9 rows, issue insert, see 10 rows.
>> Tx 2: See 9 rows, issue insert, see 10 rows.
>> After: 11 rows.
>
> True, and well corrected.
>
> Serves me right for posting at the end of a long day. Particularly
> irritating as its almost identical to the example I've used myself when
> showing the limitations of PG's low-locking MVCC model.
>


--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: Gilles
Дата:
Сообщение: [Windows] Feedback on PG?
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: [Windows] Feedback on PG?