pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Dave Cramer <pg@fastcrypt.com>
Cc: Kris Jurka <books@ejurka.com>
Cc: Josh Berkus <josh@agliodbs.com>
Cc: Heikki Linnakangas <heikki@enterprisedb.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Caching driver on pgFoundry?
Date: Thu, 06 Sep 2007 10:45:27 +1200
Message-ID: <46DF3187.6000606@opencloud.com> (raw)
In-Reply-To: <159CA908-A763-4FB0-824F-8DCF3A3DD22C@fastcrypt.com>
References: <200709050825.27080.josh@agliodbs.com>
	<200709050911.09478.josh@agliodbs.com>
	<46DED76E.9050706@enterprisedb.com>
	<200709050937.29027.josh@agliodbs.com>
	<Pine.BSO.4.64.0709051313050.30413@leary.csoft.net>
	<8FD2948B-9513-4611-9310-908CA253EECD@fastcrypt.com>
	<Pine.BSO.4.64.0709051404440.13924@leary.csoft.net>
	<159CA908-A763-4FB0-824F-8DCF3A3DD22C@fastcrypt.com>

Dave Cramer wrote:

> As I recall the events. The only objection to code that I submitted for 
> inclusion was Heikki's objection as  to where caching belonged. 

I objected to not having a wrapper at all and using the driver's 
statements directly. That produces semantically incorrect behaviour, 
that's unacceptable for the main driver.

If you're fixing that great but it's quite a different beast to the 
original implementation and I haven't seen a new version of it yet.

The "is it part of the driver or not" question is more of a maintenance 
issue than anything. If it is packaged separately it can be maintained 
more easily by whoever cares about it (you, Josh, whoever). If it's part 
of the driver you're going to run into the barrier that whenever it 
needs an update you will need to build consensus amongst the JDBC 
maintainers, which so far you don't have a very good record of doing.

I still have not seen an argument as to why it needs to be part of the 
driver at all, and "not part of the driver" certainly seems simpler and 
more flexible to me. Did you finish those benchmarks of in-driver versus 
out-of-driver implementations yet?

-O



view thread (50+ messages)  latest in thread

Message-ID: <46DF3187.6000606@opencloud.com>
Permalink:  ../46DF3187.6000606@opencloud.com/
Also on:    postgresql.org/message-id/46DF3187.6000606@opencloud.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: oliver@opencloud.com, pg@fastcrypt.com, books@ejurka.com, josh@agliodbs.com, heikki@enterprisedb.com
  Subject: Re: Caching driver on pgFoundry?
  In-Reply-To: <46DF3187.6000606@opencloud.com>
  References: <200709050825.27080.josh@agliodbs.com> <200709050911.09478.josh@agliodbs.com> <46DED76E.9050706@enterprisedb.com> <200709050937.29027.josh@agliodbs.com> <Pine.BSO.4.64.0709051313050.30413@leary.csoft.net> <8FD2948B-9513-4611-9310-908CA253EECD@fastcrypt.com> <Pine.BSO.4.64.0709051404440.13924@leary.csoft.net> <159CA908-A763-4FB0-824F-8DCF3A3DD22C@fastcrypt.com> <46DF3187.6000606@opencloud.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