Re: AW: timeout on lock feature

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: AW: timeout on lock feature
Дата
Msg-id 24074.987523717@sss.pgh.pa.us
обсуждение исходный текст
Ответ на RE: AW: timeout on lock feature  (Michael Ansley <Michael.Ansley@intec-telecom-systems.com>)
Список pgsql-hackers
Michael Ansley <Michael.Ansley@intec-telecom-systems.com> writes:
> Sorry for my forgetfulness (and a search through geocrawler didn't turn up
> anything useful), but what was the problem with something like NOWAIT?
> e.g.: SELECT * FROM a FOR UPDATE NOWAIT;
> where, if the required lock could not be obtained immediately, this
> statement would raise an error.

I have no objection to that ... it does not cover anything except FOR
UPDATE, though, which is probably less general than some of the other
folks want.
        regards, tom lane


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

Предыдущее
От: Michael Ansley
Дата:
Сообщение: RE: AW: timeout on lock feature
Следующее
От: Jean-Eric Cuendet
Дата:
Сообщение: Authentication with PGSQL