Received: from localhost (maia-3.hub.org [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 506829FBD57 for ; Thu, 2 Aug 2007 06:28:45 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 52625-02 for ; Thu, 2 Aug 2007 06:28:37 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from ebox1b.ebox.com (ebox1.ebox.com [64.7.141.6]) by postgresql.org (Postfix) with ESMTP id 5E63B9FBD4C for ; Thu, 2 Aug 2007 06:28:42 -0300 (ADT) Received: from [198.18.100.30] (unknown [12.152.229.2]) by ebox1b.ebox.com (Postfix) with ESMTP id 97A1F17E0BF; Thu, 2 Aug 2007 05:28:40 -0400 (EDT) In-Reply-To: <46B18CB3.4090708@enterprisedb.com> References: <2937D635-FCCB-471A-B1DA-AF0E0E0C18EB@fastcrypt.com> <46AFA547.9010407@enterprisedb.com> <1185956455.17154.7.camel@PCD12478.muc.ecircle.de> <46B0EDB6.5050603@enterprisedb.com> <96F22561-D20B-4BD2-8C5C-1E83953DAA4C@fastcrypt.com> <46B18CB3.4090708@enterprisedb.com> Mime-Version: 1.0 (Apple Message framework v752.3) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <908EE681-C25F-4722-B419-EDBC28769C3A@fastcrypt.com> Cc: Csaba Nagy , List Content-Transfer-Encoding: 7bit From: Dave Cramer Subject: Re: statement caching patch from Laszlo Hornyak for review Date: Thu, 2 Aug 2007 05:28:27 -0400 To: Heikki Linnakangas X-Mailer: Apple Mail (2.752.3) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/6 X-Sequence-Number: 17319 On 2-Aug-07, at 3:50 AM, Heikki Linnakangas wrote: > Dave Cramer wrote: >> I posted the proof of concept back in June of last year, and again in >> March. >> >> I searched the archives but was unable to find where you voiced this >> opinion ? > > It was as a reply to your post last year: > > http://archives.postgresql.org/pgsql-jdbc/2006-06/msg00049.php > > Maybe I should've voiced my opinion more strongly back then.. Yes, that would have been helpful. So can we now turn our attention to the technical merits of the patch ? > >> Either way, the patch is written in such a way to be very non- >> invasive >> to the driver, and the code >> will only ever be executed (except for a single if statement) if the >> user enables the feature. >> >> Can you be more specific about why you want this as a separate >> module ? > > I'd just like to keep the core JDBC driver slim as a matter of > principle. Given that most application servers already have their own > connection pooling and prepared statement caching implementation, and > the fact that there's other stand-alone implementations out there > (Apache DBCP, for example), most people who need the JDBC driver don't > need another connection pool and statement cache. > Well, there is one application server which does not (Sun's). > As a separate module, the pool and the cache could get a wider > audience. > You could use it with different databases and JDBC drivers in addition > to PostgreSQL. And it wouldn't be tied to PostgreSQL driver release > cycle, and vice versa. I'd argue why bother at all since DBCP exists. Dave > > -- > Heikki Linnakangas > EnterpriseDB http://www.enterprisedb.com