Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-bugspgsql-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

pgsql-bugs by date

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

pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group