Re: BUG #1459: Connection hangs when other connection is not

From: Kris Jurka <books(at)ejurka(dot)com>
To: Oliver Jowett <oliver(at)opencloud(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Rainer Frey <rainer(dot)frey(at)inxmail(dot)de>, pgsql-bugs(at)postgresql(dot)org, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: BUG #1459: Connection hangs when other connection is not
Date: 2005-02-04 21:41:26
Message-ID: Pine.BSO.4.56.0502041638460.25642@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-jdbc

On Sat, 5 Feb 2005, Oliver Jowett wrote:

> - Statement.setQueryTimeout(). This is *not* implemented by the current
> driver (it is a no-op), but shouldn't be too hard to implement as
> mapping to statement_timeout if you feel inclined to do some driver hacking.
>

I think it will be complicated on the error handling/cleanup side,
especially with a multithreaded application. You set it, you execute a
statement, and then you've got to reset it back to the default so other
threads aren't affected by it.

Kris Jurka

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Rolf Sponsel 2005-02-04 22:26:28 Re: [Feed-back] Installing PostgreSQL 8.0.0 on SPARC/Solaris.
Previous Message Oliver Jowett 2005-02-04 19:35:41 Re: BUG #1459: Connection hangs when other connection is not

Browse pgsql-jdbc by date

  From Date Subject
Next Message Chandra Mouli S 2005-02-07 06:17:53 POSTGRES JBDC PROBLEM
Previous Message Oliver Jowett 2005-02-04 19:52:23 Re: jar naming consitency