Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [JDBC] Implementing setQueryTimeout() - round 2

From: peter royal <peter.royal(at)pobox.com>
Date: Tue Feb 19 2008 - 00:06:00 EST


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
  • application/pkcs7-signature attachment: smime.p7s
Received on Tue Feb 19 00:11:48 2008

This archive was generated by hypermail 2.1.8 : Wed Jun 18 2008 - 23:44:52 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library