Re: AW: AW: timeout on lock feature

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at>
Cc: "'Bruce Momjian'" <pgman@candle.pha.pa.us>, Henryk Szal <szal@doctorq.com.pl>, pgsql-hackers@postgresql.org
Date: 2001-04-17T15:31:14Z
Lists: 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