Re: NOWAIT doesn't work

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: NOWAIT doesn't work
Дата
Msg-id 201210311456.30381.andres@2ndquadrant.com
обсуждение исходный текст
Ответ на NOWAIT doesn't work  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
On Wednesday, October 31, 2012 02:51:38 PM Pavel Stehule wrote:
> it is expected behave?
> 
> 1.session
> 
> postgres=# begin;
> BEGIN
> postgres=# lock oo IN ACCESS EXCLUSIVE MODE;
> LOCK TABLE
> 
> 2. session
> 
> postgres=# select * from oo for update nowait;
> 
> hangs forever ....

NOWAIT is about row level locks, not about table level locks.

Andres
-- Andres Freund                       http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services



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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: NOWAIT doesn't work
Следующее
От: Szymon Guz
Дата:
Сообщение: Re: NOWAIT doesn't work