pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: David Fetter <david@fetter.org>
Cc: PG Hackers <pgsql-hackers@postgresql.org>
Cc: PostgreSQL JDBC List <pgsql-jdbc@postgresql.org>
Subject: Re: [JDBC] Support for JDBC setQueryTimeout, et al.
Date: Mon, 11 Oct 2010 10:17:24 -0400
Message-ID: <22899.1286806644@sss.pgh.pa.us> (raw)
In-Reply-To: <4CB2CADC020000250003676B@gw.wicourts.gov>
References: <20101011064615.GJ29408@fetter.org>
	<4CB2CADC020000250003676B@gw.wicourts.gov>

"Kevin Grittner" <Kevin.Grittner@wicourts.gov> writes:
> David Fetter <david@fetter.org> wrote:
>> Please find enclosed a WIP patch from one of my co-workers
>> intended to support JDBC's setQueryTimeout, along with the patch
>> for JDBC that uses it.
 
> I agree that it would be very nice to support this JDBC feature, but
> I'm not clear on why this can't be done with just JDBC changes using
> the java.util.Timer class and the existing Statement.cancel()
> method.  Can you explain why the backend needed to be touched?

... and, if you are seriously expecting to have that happen, why the
patch was submitted to pgsql-jdbc not pgsql-hackers?  I hadn't even
read it because I assumed it was strictly a JDBC change.

			regards, tom lane



view thread (45+ messages)  latest in thread

Message-ID: <22899.1286806644@sss.pgh.pa.us>
Permalink:  ../22899.1286806644@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/22899.1286806644@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: tgl@sss.pgh.pa.us, Kevin.Grittner@wicourts.gov, david@fetter.org, pgsql-hackers@postgresql.org
  Subject: Re: [JDBC] Support for JDBC setQueryTimeout, et al.
  In-Reply-To: <22899.1286806644@sss.pgh.pa.us>
  References: <20101011064615.GJ29408@fetter.org> <4CB2CADC020000250003676B@gw.wicourts.gov> <22899.1286806644@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox