Обсуждение: BUG #1943: Lock A row with the option NoWait

Поиск
Список
Период
Сортировка

BUG #1943: Lock A row with the option NoWait

От
"Mathias Laurent"
Дата:
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

От
Bruno Wolff III
Дата:
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