Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 3B7849FB36E for ; Fri, 3 Aug 2007 20:09:29 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 61611-03 for ; Fri, 3 Aug 2007 20:09:16 -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 113439FB35E for ; Fri, 3 Aug 2007 20:09:26 -0300 (ADT) Received: from 222-154-135-183.jetstream.xtra.co.nz ([222.154.135.183] helo=[10.1.1.3]) by tremor.opencloud.co.nz with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1IH6Gi-0000qc-IZ; Sat, 04 Aug 2007 11:09:16 +1200 Message-ID: <46B3B590.5060600@opencloud.com> Date: Sat, 04 Aug 2007 11:09:04 +1200 From: Oliver Jowett User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 To: Dave Cramer CC: Kris Jurka , List , Laszlo Hornyak Subject: Re: statement caching patch from Laszlo Hornyak for review References: <2937D635-FCCB-471A-B1DA-AF0E0E0C18EB@fastcrypt.com> <46B1B5CE.1050409@opencloud.com> <33E43614-DF0E-4913-92DB-2E8EC4B1E156@fastcrypt.com> In-Reply-To: <33E43614-DF0E-4913-92DB-2E8EC4B1E156@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: 200708/20 X-Sequence-Number: 17333 Dave Cramer wrote: > Kris, Oliver, > > Laszlo is working on all of your recommendations, thanks for taking the > time to review this. Before he throws lots more work at this -- if you are adding a wrapping statement object (removing the dependency on the PG driver's statement implementation), is there anything else which that ties the implementation to the postgresql driver code? Seems to me that to get correct behaviour you need to wrap Statement which also means you have to wrap Connection and so on .. at which point the question is, does this need to be integrated with the driver at all or can it be implemented as a separate module? -O