From: | Magnus Hagander <magnus(at)hagander(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, David Fetter <david(at)fetter(dot)org>, PG Hackers <pgsql-hackers(at)postgresql(dot)org>, PostgreSQL JDBC List <pgsql-jdbc(at)postgresql(dot)org> |
Subject: | Re: [JDBC] Support for JDBC setQueryTimeout, et al. |
Date: | 2010-10-11 14:27:50 |
Message-ID: | AANLkTikQVDOJeujV0UKqibfCq0z-FbATv9jBQ+DZx5qC@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-jdbc |
On Mon, Oct 11, 2010 at 16:17, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov> writes:
>> David Fetter <david(at)fetter(dot)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.
To be fair to David, it was sent to *both* pgsql-jdbc and
pgsql-hackers. Maybe it was held for moderation on one and arrived out
of order?
--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2010-10-11 14:29:38 | Re: wip: functions median and percentile |
Previous Message | Tom Lane | 2010-10-11 14:17:24 | Re: [JDBC] Support for JDBC setQueryTimeout, et al. |
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2010-10-11 14:31:38 | Re: [JDBC] Support for JDBC setQueryTimeout, et al. |
Previous Message | Tom Lane | 2010-10-11 14:17:24 | Re: [JDBC] Support for JDBC setQueryTimeout, et al. |