Re: NOWAIT doesn't work

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: NOWAIT doesn't work
Date: 2012-10-31 13:52:05
Message-ID: CAFj8pRBt381+2dBG3+q27QjZYSuE_vcWRxG1ne8L856KAL=K9Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

tested on 9.3

Pavel

2012/10/31 Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>:
> Hello
>
> 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 ....
>
> Regards
>
> Pavel Stehule

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2012-10-31 13:56:30 Re: NOWAIT doesn't work
Previous Message Pavel Stehule 2012-10-31 13:51:38 NOWAIT doesn't work