X-Original-To: pgsql-jdbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 146C69FB25E for ; Fri, 4 Aug 2006 13:32:41 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 67259-10 for ; Fri, 4 Aug 2006 13:32:31 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.ecircle.de (mail.ecircle.de [195.140.186.200]) by postgresql.org (Postfix) with ESMTP id 0ADEB9FB252 for ; Fri, 4 Aug 2006 13:32: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 B990455C057; Fri, 4 Aug 2006 18:32: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); Fri, 4 Aug 2006 18:27:20 +0200 Subject: Re: PGStatement#setPrepareThreshold From: Csaba Nagy To: Bruce Momjian Cc: Dave Cramer , Oliver Jowett , Postgres JDBC In-Reply-To: <200608041615.k74GF2M16894@momjian.us> References: <200608041615.k74GF2M16894@momjian.us> Content-Type: text/plain Message-Id: <1154708816.21451.112.camel@coppola.muc.ecircle.de> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Fri, 04 Aug 2006 18:26:56 +0200 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 04 Aug 2006 16:27:20.0980 (UTC) FILETIME=[DC19AD40:01C6B7E2] X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.419 tagged_above=0 required=5 tests=AWL, SPF_PASS X-Spam-Level: X-Archive-Number: 200608/24 X-Sequence-Number: 15551 > Right, but do we want to repeat the statement for every bind case? I'm talking only for myself, but printing the parameter values alone would be already a huge win. I enable the printing of IP+port in the logs, so I can easily trace back the parameters to the statement if the statement is logged too... On the other hand, I usually only enable statement logging with log_min_duration_statement, and there I would like to see both statemnt and params... would that work ? Thanks, Csaba.