Re: How fair is SELECT FOR UPDATE ?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How fair is SELECT FOR UPDATE ?
Дата
Msg-id 25083.1129746480@sss.pgh.pa.us
обсуждение исходный текст
Ответ на How fair is SELECT FOR UPDATE ?  (Csaba Nagy <nagy@ecircle-ag.com>)
Список pgsql-general
Csaba Nagy <nagy@ecircle-ag.com> writes:
> I wonder how fair is the lock allocation of SELECT FOR UPDATE ?
> Is it fair, i.e. the first transaction which requested the lock will get
> it, or it is possible that new requests are served quicker ?

8.1 will guarantee first-come-first-served for row-level locks, but
prior releases make no guarantees.

            regards, tom lane

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

Предыдущее
От: "Marc G. Fournier"
Дата:
Сообщение: Re: [pgsql-advocacy] Oracle buys Innobase
Следующее
От: Mark Rae
Дата:
Сообщение: Re: PostgreSQL on Dual Processors, Dual-Core AMD Chips