Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 50E119FA5C8 for ; Thu, 2 Aug 2007 04:50:32 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 67294-10 for ; Thu, 2 Aug 2007 04:50:25 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.190]) by postgresql.org (Postfix) with ESMTP id 7486E9FA2C6 for ; Thu, 2 Aug 2007 04:50:25 -0300 (ADT) Received: by mu-out-0910.google.com with SMTP id i10so549278mue for ; Thu, 02 Aug 2007 00:50:23 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=jIWzYcVs4tPmaJzce5URgjal0tHRiRVEwkAPhiqdH3+OIi50BXGmBj1JSuwWu9/cAoS5Ry5Lr6lBwevQIh58vgKy2iylO8DWtbrlyCIQ9wkDIDPC876I32oRLC9Og4tI8iB2X1WwkJDQmQOOVboaD6S8K1BX98PQMbYVToj+XO4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=rfgrLIlLoHApVxt1W0mDVmPWhqQJNynWt2iUltcBpp/+H+z7KsoqCaN9aYRihQ18FHXswie/qvV+7FC5WvhiPnVNxt6tifFeSN3MnyoYV8Z2M4GKWy+qW1XteW78Jtnpdnq9H5f3qb1HadQO87/7UQV0JqormUlv2hMdhmkJSzU= Received: by 10.86.98.18 with SMTP id v18mr1208722fgb.1186041023677; Thu, 02 Aug 2007 00:50:23 -0700 (PDT) Received: from ?192.168.0.199? ( [80.222.48.97]) by mx.google.com with ESMTPS id p38sm3328362fke.2007.08.02.00.50.21 (version=SSLv3 cipher=RC4-MD5); Thu, 02 Aug 2007 00:50:22 -0700 (PDT) Message-ID: <46B18CB3.4090708@enterprisedb.com> Date: Thu, 02 Aug 2007 08:50:11 +0100 From: Heikki Linnakangas User-Agent: Icedove 1.5.0.10 (X11/20070329) MIME-Version: 1.0 To: Dave Cramer CC: Csaba Nagy , List Subject: Re: statement caching patch from Laszlo Hornyak for review 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> In-Reply-To: <96F22561-D20B-4BD2-8C5C-1E83953DAA4C@fastcrypt.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/4 X-Sequence-Number: 17317 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.. > 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. 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. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com