Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id A4069635D74 for ; Fri, 28 May 2010 15:37:35 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 18103-03 for ; Fri, 28 May 2010 18:37:28 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail63.csoft.net (mail63.csoft.net [205.205.214.4]) by mail.postgresql.org (Postfix) with ESMTP id 7D0AC635D52 for ; Fri, 28 May 2010 15:37:28 -0300 (ADT) Received: from mail63.csoft.net (localhost [127.0.0.1]) by mail63.csoft.net (Postfix) with ESMTP id 754282845E; Fri, 28 May 2010 14:37:26 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=csoft.net; h=date:from:to :cc:subject:in-reply-to:message-id:references:mime-version :content-type; s=sel1; bh=W4HWYxPa9nPYgxgxZQAmaGtBRpc=; b=h4kYqG W6N0HWp/Ac8YnIF7iiU1nRgVxBAT7DTzY0SXcfc3+HGuCKs/jkNfPizVWmtAi8AA gDHYoEvlYfK9s6yAhl+rR+NdKk9CLw5wtfwuE4vik8W3fiMZKhZS4WumEDhmClnq gcfAj8nnf/4jJgnYejGvzFTrQJYbIi9nPVy/4= Received: from leary.csoft.net (leary.csoft.net [205.205.214.5]) by mail63.csoft.net (Postfix) with ESMTP id 728372845C; Fri, 28 May 2010 14:37:26 -0400 (EDT) Received: by leary.csoft.net (Postfix, from userid 1112) id 6A6EBA428; Fri, 28 May 2010 14:37:26 -0400 (EDT) Date: Fri, 28 May 2010 14:37:26 -0400 (EDT) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: harryh cc: pgsql-jdbc@postgresql.org Subject: Re: no timeout in AbstractJdbc23PoolingDataSource#getPooledConnection In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201005/84 X-Sequence-Number: 20568 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