Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id EA1AF2E027D for ; Thu, 14 Feb 2008 02:46:37 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 95187-06 for ; Thu, 14 Feb 2008 02:46:35 -0400 (AST) Received: from tremor.opencloud.co.nz (tremor.opencloud.co.nz [131.203.101.230]) by postgresql.org (Postfix) with ESMTP id 22D7D2E028A for ; Thu, 14 Feb 2008 02:46:34 -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 1JPXrH-0006g2-8d; Thu, 14 Feb 2008 19:46:11 +1300 Message-ID: <47B3E3AE.9050201@opencloud.com> Date: Thu, 14 Feb 2008 19:46:06 +1300 From: Oliver Jowett User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Tom Lane CC: Simon Riggs , josh@agliodbs.com, Stephen Denne , Kris Jurka , PostgreSQL - JDBC Subject: Re: JDBC, prepared queries, and partitioning References: <200802131005.30553.josh@agliodbs.com> <1202939756.16770.517.camel@ebony.site> <200802131423.24613.josh@agliodbs.com> <47B37549.3@opencloud.com> <1202944752.16770.568.camel@ebony.site> <47B37BDA.8020702@opencloud.com> <47B37F51.2010003@opencloud.com> <1442.1202968766@sss.pgh.pa.us> In-Reply-To: <1442.1202968766@sss.pgh.pa.us> 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/83 X-Sequence-Number: 18290 Tom Lane wrote: > Oliver Jowett writes: >> Another possibility is to make the unnamed statement behaviour in the >> server more aggressive. > > Upthread I suggested making that conditional on a GUC variable ... > does that seem reasonable? That would be fine. > For instance JDBC would > need to expose an API to calling applications I'm not sure why JDBC would need to do this .. in the current driver, unnamed statements are only used for a single query execution anyway, so turning on the GUC unconditionally would seem to be the way to go. -O