Re: SELECT FOR UPDATE and LIMIT 1 behave oddly

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: SELECT FOR UPDATE and LIMIT 1 behave oddly
Дата
Msg-id 1097818630.29932.224.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: SELECT FOR UPDATE and LIMIT 1 behave oddly  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: SELECT FOR UPDATE and LIMIT 1 behave oddly  (Josh Berkus <josh@agliodbs.com>)
Список pgsql-bugs
On Fri, 2004-10-15 at 15:30, Tom Lane wrote:
> Au contraire: every row that gets locked will be returned to the client.
> The gripe at hand is that the number of such rows may be smaller than
> the client wished, because the LIMIT step is applied before we do the
> FOR UPDATE step

Ah, my apologies -- I misunderstood. Clearly not enough coffee this
morning :-)

Sorry for the noise.

-Neil

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SELECT FOR UPDATE and LIMIT 1 behave oddly
Следующее
От: Josh Berkus
Дата:
Сообщение: Re: SELECT FOR UPDATE and LIMIT 1 behave oddly