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

BUG #1944: Lock A row with the option NoWait

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

Bug reference:      1944
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 #1944: Lock A row with the option NoWait

From
Bruce Momjian
Date:
Mathias Laurent wrote:
>
> The following bug has been logged online:
>
> Bug reference:      1944
> 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 ?

Yes, it will be in 8.1.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073