Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id BF8202E022D for ; Wed, 13 Feb 2008 18:04:10 -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 06938-04 for ; Wed, 13 Feb 2008 18:03:58 -0400 (AST) Received: from outmail136002.authsmtp.com (outmail136002.authsmtp.com [62.13.136.2]) by postgresql.org (Postfix) with ESMTP id 7AF9C2E0166 for ; Wed, 13 Feb 2008 18:04:02 -0400 (AST) Received: from outmail128177.authsmtp.com (outmail128177.authsmtp.com [62.13.128.177]) by punt3.authsmtp.com (8.13.8/8.13.8/Kp) with ESMTP id m1DM3tOM036682; Wed, 13 Feb 2008 22:03:55 GMT Received: from [192.168.0.3] (85-211-31-42.dyn.gotadsl.co.uk [85.211.31.42]) (authenticated bits=0) by mail.authsmtp.com (8.13.8/8.13.8/Kp) with ESMTP id m1DM3sDU006364; Wed, 13 Feb 2008 22:03:54 GMT Subject: Re: JDBC, prepared queries, and partitioning From: Simon Riggs To: Kris Jurka Cc: Josh Berkus , PostgreSQL - JDBC In-Reply-To: References: <200802131005.30553.josh@agliodbs.com> <1202934864.16770.486.camel@ebony.site> <1202936181.16770.493.camel@ebony.site> <1202938005.16770.514.camel@ebony.site> Content-Type: text/plain Date: Wed, 13 Feb 2008 22:04:43 +0000 Message-Id: <1202940283.16770.525.camel@ebony.site> Mime-Version: 1.0 X-Mailer: Evolution 2.8.2 Content-Transfer-Encoding: 7bit X-Server-Quench: 9137979a-da7f-11dc-9670-001185d377ca X-AuthRoute: OCdxZQATClZOTQEd DAteCiNZVAwpPBRK HVkIKg5MJUcNSQVJ NksadRtFaQZba1xT HGQLW1xEUl97WWB/ bg4fZQBDYEtPQQZr TkxLXVBXCwUmXB11 ex1dJnxydwNFfno+ ZEBlWT5SXUd9fEF0 E1MARGpQeGZhPDMC WUZfdx5UcAJLdhoR aVd4ByJDAzANdhEa MyUYCngTER90bGxN WAwVJEgfTQ4SAzMm Rh0ZWX0mG0FNXywp Mx06K1kaHUAeWicA X-Authentic-SMTP: 61633235383639.squirrel.dmpriest.net.uk:787/Kp X-Report-SPAM: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-Virus-Status: No virus detected - but ensure you scan with your own anti-virus system! X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200802/65 X-Sequence-Number: 18272 On Wed, 2008-02-13 at 16:41 -0500, Kris Jurka wrote: > > On Wed, 13 Feb 2008, Simon Riggs wrote: > > > OK, but AFAICS the docs relating to prepareThreshold are wrong. They > > describe behaviour that doesn't happen all of the time, yet there is > > nothing to indicate that. > > That's spelled out in detail if you follow the link: > > http://jdbc.postgresql.org/documentation/83/server-prepare.html I'd read it before and again before I posted this evening. Which part of that says prepareTheshold only applies to v2 protocol? The code example doesn't explicitly state protocolVersion as you say is required either. > > Happy to provide a patch, if you'd like. > If you think it's important, go ahead. You don't think its important? -- Simon Riggs 2ndQuadrant http://www.2ndQuadrant.com