From: Kris Jurka <books@ejurka.com>
To: Oliver Jowett <oliver@opencloud.com>
Cc: Peter Eisentraut <peter_e@gmx.net>
Cc: Rainer Frey <rainer.frey@inxmail.de>
Cc: pgsql-bugs@postgresql.org
Cc: pgsql-jdbc@postgresql.org
Subject: Re: BUG #1459: Connection hangs when other connection is not
Date: Fri, 4 Feb 2005 16:41:26 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0502041638460.25642@leary.csoft.net> (raw)
In-Reply-To: <4203CE8D.1050301@opencloud.com>
References: <20050203151126.467DC9A5818@www.postgresql.com>
<200502041054.16723.peter_e@gmx.net>
<42035480.2060707@inxmail.de>
<200502041515.00657.peter_e@gmx.net>
<4203CE8D.1050301@opencloud.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: books@ejurka.com, oliver@opencloud.com, peter_e@gmx.net, rainer.frey@inxmail.de, pgsql-bugs@postgresql.org
Subject: Re: BUG #1459: Connection hangs when other connection is not
In-Reply-To: <Pine.BSO.4.56.0502041638460.25642@leary.csoft.net>
References: <20050203151126.467DC9A5818@www.postgresql.com> <200502041054.16723.peter_e@gmx.net> <42035480.2060707@inxmail.de> <200502041515.00657.peter_e@gmx.net> <4203CE8D.1050301@opencloud.com> <Pine.BSO.4.56.0502041638460.25642@leary.csoft.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox