Re: timeout implementation issues
Jessica Perry Hekman <jphekman@dynamicdiagrams.com>
From: Jessica Perry Hekman <jphekman@dynamicdiagrams.com>
To: Bruce Momjian <pgman@candle.pha.pa.us>
Cc: Hiroshi Inoue <Inoue@tpf.co.jp>, Tom Lane <tgl@sss.pgh.pa.us>, Jan Wieck <janwieck@yahoo.com>, Barry Lind <barry@xythos.com>, pgsql-hackers@postgresql.org
Date: 2002-04-06T22:23:00Z
Lists: pgsql-hackers
On Sat, 6 Apr 2002, Bruce Momjian wrote: > > What's wrong with simply issueing set query_timeout > > command just before every query ? > > You could do that, but we also imagine cases where people would want to > set a timeout for each query in an entire session. One approach might be for the interface to take care of setting the query timeout before each query, and just ask the backend to handle timeouts per-query. So from the user's perspective, session-level timeouts would exist, but the backend would not have to worry about rolling back timeouts. j