Re: timeout implementation issues
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Jessica Perry Hekman <jphekman@dynamicdiagrams.com>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>, pgsql-hackers@postgresql.org
Date: 2002-03-30T17:59:03Z
Lists: pgsql-hackers
Jessica Perry Hekman <jphekman@dynamicdiagrams.com> writes: > I definitely agree that implementing it in the backend would be the best > plan, if it's feasible. I just can't figure out how to pass information > back to the driver that the request has been cancelled (and that, in > JDBC's case, a SQLException should be thrown). Any thoughts about that? Why would this be any different from a cancel-signal-instigated abort? You'd be reporting elog(ERROR) in any case. regards, tom lane