From: Tomonari Katsumata <katsumata.tomonari@po.ntts.co.jp>
To: pgsql-jdbc@postgresql.org
Subject: Re: a problem about setQueryTimeout is not fixed?
Date: Tue, 16 Jul 2013 17:57:10 +0900
Message-ID: <51E50AE6.9080701@po.ntts.co.jp> (raw)
In-Reply-To: <CADK3HHK7oH5Wgt5-NGQLs=Fdmav9D9Sk6g3m_D_1LMhSrTrGmQ@mail.gmail.com>
References: <51DD0211.2070908@po.ntts.co.jp>
<CADK3HHJZ63HtEAogBuzg81Vu-ZZXVDx4pEVd4DOwg==P2YVP6w@mail.gmail.com>
<CADK3HHK7oH5Wgt5-NGQLs=Fdmav9D9Sk6g3m_D_1LMhSrTrGmQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-jdbc>
Hi Dave,
I've tested the new driver(postgresql-9.2-1004.jdbc4.jar).
It worked fine.
My test scenario:
step0. preparing tomcat connection pool environment.
step1. connect to PostgreSQL with pooled connection.
step2. executing setQueryTimeout(5).
step3. executing dummy query(access to non exist table) and get
SQLException.
step4. cotinueously, executing "SELECT pg_sleep(10)".
the result:
- old driver
getting SQLException during step4.
because of timer expired from step2.
- new driver
query of step4 complete without any error.
I'm happy to the new driver be released soon,
but I'm concerning about a quick release make
many users chaos.
Now, you are working for website renewal, rigth?
So, I think it's better to release new driver on
renewal websit.
What do you think of it ?
regards,
--------
NTT Software Corporation
Tomonari Katsumata
--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc
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: katsumata.tomonari@po.ntts.co.jp
Subject: Re: a problem about setQueryTimeout is not fixed?
In-Reply-To: <51E50AE6.9080701@po.ntts.co.jp>
References: <51DD0211.2070908@po.ntts.co.jp> <CADK3HHJZ63HtEAogBuzg81Vu-ZZXVDx4pEVd4DOwg==P2YVP6w@mail.gmail.com> <CADK3HHK7oH5Wgt5-NGQLs=Fdmav9D9Sk6g3m_D_1LMhSrTrGmQ@mail.gmail.com> <51E50AE6.9080701@po.ntts.co.jp>
* 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