Re: Implementing setQueryTimeout() - round 2 - Mailing list pgsql-jdbc

From peter royal
Subject Re: Implementing setQueryTimeout() - round 2
Date
Msg-id 3ACF9DA1-9B0A-4496-A9BE-8C374867ACDE@pobox.com
Whole thread Raw
In response to Re: Implementing setQueryTimeout() - round 2  (Oliver Jowett <oliver@opencloud.com>)
List pgsql-jdbc
On Feb 18, 2008, at 8:39 PM, Oliver Jowett wrote:
> Unfortunately statement_timeout is not sufficient for what I need,
> so my changes will end up doing more than that. Here's an attempt at
> a compromise:
>
> Add 4 new connection parameters, associated connection / statement
> values and accessors on the postgresql extension interfaces:

this seems complicated.

can setQueryTimeout set statement_timeout, and then can any additional
logic be implemented externally?

i agree with tom that tying queries actually running long and network
failures isn't appropriate.

-pete

--
(peter.royal|osi)@pobox.com - http://fotap.org/~osi


Attachment

pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: Implementing setQueryTimeout() - round 2
Next
From: Kris Jurka
Date:
Subject: Re: JDBC XA Support and Sample code?