pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Heikki Linnakangas <heikki@enterprisedb.com>
To: Dave Cramer <pg@fastcrypt.com>
Cc: Csaba Nagy <nagy@ecircle-ag.com>
Cc: List <pgsql-jdbc@postgresql.org>
Subject: Re: statement caching patch from Laszlo Hornyak for review
Date: Thu, 02 Aug 2007 08:50:11 +0100
Message-ID: <46B18CB3.4090708@enterprisedb.com> (raw)
In-Reply-To: <96F22561-D20B-4BD2-8C5C-1E83953DAA4C@fastcrypt.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>

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



view thread (19+ messages)  latest in thread

Message-ID: <46B18CB3.4090708@enterprisedb.com>
Permalink:  ../46B18CB3.4090708@enterprisedb.com/
Also on:    postgresql.org/message-id/46B18CB3.4090708@enterprisedb.com

 · 

reply

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: heikki@enterprisedb.com, pg@fastcrypt.com, nagy@ecircle-ag.com
  Subject: Re: statement caching patch from Laszlo Hornyak for review
  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>

* 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