Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 4A6489F9577 for ; Wed, 5 Sep 2007 19:45:35 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 09171-07 for ; Wed, 5 Sep 2007 19:45:27 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from tremor.opencloud.co.nz (tremor.opencloud.co.nz [131.203.101.230]) by postgresql.org (Postfix) with ESMTP id D9E389F983F for ; Wed, 5 Sep 2007 19:45:31 -0300 (ADT) Received: from 222-154-129-161.jetstream.xtra.co.nz ([222.154.129.161] helo=[10.1.1.3]) by tremor.opencloud.co.nz with esmtpsa (SSL 3.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1IT3cZ-0004YW-1B; Thu, 06 Sep 2007 10:45:15 +1200 Message-ID: <46DF3187.6000606@opencloud.com> Date: Thu, 06 Sep 2007 10:45:27 +1200 From: Oliver Jowett User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Dave Cramer CC: Kris Jurka , Josh Berkus , Heikki Linnakangas , pgsql-jdbc@postgresql.org Subject: Re: Caching driver on pgFoundry? References: <200709050825.27080.josh@agliodbs.com> <200709050911.09478.josh@agliodbs.com> <46DED76E.9050706@enterprisedb.com> <200709050937.29027.josh@agliodbs.com> <8FD2948B-9513-4611-9310-908CA253EECD@fastcrypt.com> <159CA908-A763-4FB0-824F-8DCF3A3DD22C@fastcrypt.com> In-Reply-To: <159CA908-A763-4FB0-824F-8DCF3A3DD22C@fastcrypt.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/42 X-Sequence-Number: 17464 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