Thread: BUG #1943: Lock A row with the option NoWait

BUG #1943: Lock A row with the option NoWait

From
"Mathias Laurent"
Date:
The following bug has been logged online:

Bug reference:      1943
Logged by:          Mathias Laurent
Email address:      e1lauren@hotmail.com
PostgreSQL version: 8.0
Operating system:   windows
Description:        Lock A row with the option NoWait
Details:

Hello,
I would like to know how to make a lock on a row with the instruction
NoWait. Because it is not possible with "Select .... For Update" which don't
allow NoWait Behind !
Also if it is not possible to do this thing, could it be develloped in a
next version ?

thank you,

Mathias Laurent

Re: BUG #1943: Lock A row with the option NoWait

From
Bruno Wolff III
Date:
On Thu, Oct 06, 2005 at 17:42:25 +0100,
  Mathias Laurent <e1lauren@hotmail.com> wrote:
>
> The following bug has been logged online:
>
> Bug reference:      1943
> Logged by:          Mathias Laurent
> Email address:      e1lauren@hotmail.com
> PostgreSQL version: 8.0
> Operating system:   windows
> Description:        Lock A row with the option NoWait
> Details:
>
> Hello,
> I would like to know how to make a lock on a row with the instruction
> NoWait. Because it is not possible with "Select .... For Update" which don't
> allow NoWait Behind !
> Also if it is not possible to do this thing, could it be develloped in a
> next version ?

This will be a new feature in 8.1. See the 8.1 release notes:
http://candle.pha.pa.us/main/writings/pgsql/sgml/release.html