From: Kris Jurka <books@ejurka.com>
To: harryh <harryh@gmail.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: no timeout in AbstractJdbc23PoolingDataSource#getPooledConnection
Date: Fri, 28 May 2010 14:37:26 -0400 (EDT)
Message-ID: <alpine.BSO.2.00.1005281433080.30913@leary.csoft.net> (raw)
In-Reply-To: <ac7acdde-0c77-42b1-8b97-e80a0e7fa0e7@f13g2000vbm.googlegroups.com>
References: <ac7acdde-0c77-42b1-8b97-e80a0e7fa0e7@f13g2000vbm.googlegroups.com>
On Tue, 18 May 2010, harryh wrote:
> Is there any particular reason that there is no way to set a timeout
> on acquiring a connection from the connection pool? It seems like
> this would be very useful, and also trivial to add to the driver.
> More than happy to submit a patch, but this is such a glaring omission
> I'm guessing there must be some reason for it.
The connection pool included with the driver is pretty bare bones. It's
functional, but not a whole lot more. In general we've steered people who
need more than basic pooling to other projects like DBCP because it
doesn't make sense to replicate all of that functionality in the driver's
pool when DBCP is driver independent.
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, harryh@gmail.com
Subject: Re: no timeout in AbstractJdbc23PoolingDataSource#getPooledConnection
In-Reply-To: <alpine.BSO.2.00.1005281433080.30913@leary.csoft.net>
References: <ac7acdde-0c77-42b1-8b97-e80a0e7fa0e7@f13g2000vbm.googlegroups.com> <alpine.BSO.2.00.1005281433080.30913@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