Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id F3BB82E0176 for ; Wed, 13 Feb 2008 19:23:22 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 49277-01 for ; Wed, 13 Feb 2008 19:23:14 -0400 (AST) Received: from tremor.opencloud.co.nz (tremor.opencloud.co.nz [131.203.101.230]) by postgresql.org (Postfix) with ESMTP id D76932E0173 for ; Wed, 13 Feb 2008 19:23:19 -0400 (AST) Received: from 219-89-39-133.dialup.xtra.co.nz ([219.89.39.133] helo=[192.168.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 1JPQXE-0004mw-TA; Thu, 14 Feb 2008 11:57:01 +1300 Message-ID: <47B375BD.9040202@opencloud.com> Date: Thu, 14 Feb 2008 11:57:01 +1300 From: Oliver Jowett User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Simon Riggs CC: Kris Jurka , Josh Berkus , PostgreSQL - JDBC Subject: Re: JDBC, prepared queries, and partitioning References: <200802131005.30553.josh@agliodbs.com> <1202934864.16770.486.camel@ebony.site> <1202936181.16770.493.camel@ebony.site> <1202938005.16770.514.camel@ebony.site> <1202940283.16770.525.camel@ebony.site> <1202941965.16770.540.camel@ebony.site> In-Reply-To: <1202941965.16770.540.camel@ebony.site> 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: 200802/77 X-Sequence-Number: 18284 Simon Riggs wrote: > But the code example shows explicit use of > > pgconn.setPrepareThreshold(5); > > which clearly does nothing, given the default setting of protocol V3. You are misreading something somewhere, you have that backwards. Prepare threshold works only on V3. It does not work with V2. -O