Re: [HACKERS] please? (non blocking lock)

From: ZEUGSWETTER Andreas IZ5 <Andreas(dot)Zeugswetter(at)telecom(dot)at>
To: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] please? (non blocking lock)
Date: 1999-06-01 08:03:10
Message-ID: 219F68D65015D011A8E000006F8590C60267B383@sdexcsrv1.f000.d0188.sd.spardat.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> I don't know of any SQL databases that allow non-blocking lock requests.
>
Informix has all kinds of non blocking locks:
return "record locked" at once
return "record locked" after a specified timeout
wait for the lock indefinitely

To supply this behavior it has the following statements:
set lock mode to not wait; -- return immediately with error
-- if record already locked
set lock mode to wait 10; -- wait at max 10 seconds
set lock mode to wait; -- wait indefinitely

Dirty read isolation has actually nothing to do with the wanted feature.

Andreas

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Vadim Mikheev 1999-06-01 08:03:35 Re: [HACKERS] please?
Previous Message Tatsuo Ishii 1999-06-01 07:44:30 Re: [HACKERS] Open 6.5 items