Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 3EA6D9FB73A for ; Mon, 25 Jun 2007 09:42:38 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 14281-02 for ; Mon, 25 Jun 2007 09:42:30 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mail.ecircle.de (mail.ecircle.de [195.140.186.200]) by postgresql.org (Postfix) with ESMTP id 159069FB71A for ; Mon, 25 Jun 2007 09:42:30 -0300 (ADT) Received: from einstein.muc.ecircle.de (einstein.muc.ecircle.de [192.168.1.7]) by mail.ecircle.de (READY) with ESMTP id B72B355C02E; Mon, 25 Jun 2007 14:42:28 +0200 (CEST) Received: from [192.168.1.91] ([192.168.1.91]) by einstein.muc.ecircle.de with Microsoft SMTPSVC(6.0.3790.1830); Mon, 25 Jun 2007 14:42:28 +0200 Subject: Re: Prepared statements, parameters and logging From: Csaba Nagy To: Dave Cramer Cc: Postgres JDBC In-Reply-To: References: <1182768449.13328.60.camel@coppola.muc.ecircle.de> <6A182763-97EC-43C9-BD13-EE5375A83AC2@fastcrypt.com> <1182770018.13328.63.camel@coppola.muc.ecircle.de> Content-Type: text/plain Message-Id: <1182775348.13328.69.camel@coppola.muc.ecircle.de> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Mon, 25 Jun 2007 14:42:28 +0200 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 25 Jun 2007 12:42:28.0472 (UTC) FILETIME=[4A311780:01C7B726] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200706/94 X-Sequence-Number: 17156 Dave, If I read [1] correctly, the prepareThreshold parameter should actually do what I want in protocol version 3... or am I misreading something ? [1] http://jdbc.postgresql.org/documentation/81/server-prepare.html Cheers, Csaba. On Mon, 2007-06-25 at 13:24, Dave Cramer wrote: > As far as I know you can't have both. In version 3 protocol, > everything is a server side prepared statement without parameters.