Feature: FOR UPDATE SKIP LOCKED

Поиск
Список
Период
Сортировка
От Jonathan Bond-Caron
Тема Feature: FOR UPDATE SKIP LOCKED
Дата
Msg-id 000c01c8e176$3a4a7d90$aedf78b0$@com
обсуждение исходный текст
Ответы Re: Feature: FOR UPDATE SKIP LOCKED  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general

I’m been reading up on  FOR UPDATE NOWAIT and it looks like it was added in 8.1.

 

How difficult is it to add FOR UPDATE SKIP LOCKED or something similar? (basically skip locked rows / oracle syntax)

More background here:

http://forge.mysql.com/worklog/task.php?id=3597

 

It would be quite useful to implement a database queue. Although FOR UPDATE NOWAIT and trying again can work as well as other techniques,

just skipping over the locks has its advantages (simplicity and zero wait)

 

 

 

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Getting source code for database objects
Следующее
От: "Richard Broersma"
Дата:
Сообщение: Re: Quick way to alter a column type?