From: | Boszormenyi Zoltan <zb(at)cybertec(dot)at> |
---|---|
To: | John R Pierce <pierce(at)hogranch(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Curosity question regarding "LOCK" NOWAIT |
Date: | 2012-09-22 08:01:37 |
Message-ID: | 505D7061.9000701@cybertec.at |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
2012-09-22 06:08 keltezéssel, John R Pierce írta:
> On 09/21/12 7:43 PM, David Johnston wrote:
>> Has there been any discussion regarding adding a time-limited version of NOWAIT, say:
>> “WAITONLY 50” (milliseconds), when dealing the explicit LOCK TABLE or the
>> SELECT…FOR(SHARE|UPDATE) commands?
>
> is this a feature in any other major databases?
Yes, at least Informix has it in the form of SET LOCK MODE TO { NOT WAIT | WAIT [N] }.
> is this in the sql spec?
No.
>
>
> what do you expect to happen if these timeouts expire? return an error, and abort the
> transaction?
>
>
--
----------------------------------
Zoltán Böszörményi
Cybertec Schönig & Schönig GmbH
Gröhrmühlgasse 26
A-2700 Wiener Neustadt, Austria
Web: http://www.postgresql-support.de
http://www.postgresql.at/
From | Date | Subject | |
---|---|---|---|
Next Message | Boszormenyi Zoltan | 2012-09-22 08:04:48 | Re: Curosity question regarding "LOCK" NOWAIT |
Previous Message | Boszormenyi Zoltan | 2012-09-22 07:29:22 | Re: Curosity question regarding "LOCK" NOWAIT |