Re: AW: AW: timeout on lock feature - Mailing list pgsql-hackers

From Tom Lane
Subject Re: AW: AW: timeout on lock feature
Date
Msg-id 23846.987521474@sss.pgh.pa.us
Whole thread Raw
In response to AW: AW: timeout on lock feature  (Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>)
List pgsql-hackers
Zeugswetter Andreas SB  <ZeugswetterA@wien.spardat.at> writes:
> The timeout will be useful to let the client or user decide on an
> alternate course of action other that killing his application (without
> the need for timers or threads in the client program).

This assumes (without evidence) that the client has a good idea of what
the timeout limit ought to be.  I think this "feature" has no real use
other than encouraging application programmers to shoot themselves in
the foot.  I see no reason that we should make it easy to misdesign
applications.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Alessio Bragadini
Date:
Subject: Re: Re: [PATCHES] Patch for PostgreSQL 7.0.3 to compile on Tru64 UNIX v5.0A
Next
From: Zeugswetter Andreas SB
Date:
Subject: AW: AW: AW: timeout on lock feature