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 D7CB69FB313 for ; Fri, 4 Aug 2006 13:53:28 -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 82800-05 for ; Fri, 4 Aug 2006 13:53:19 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by postgresql.org (Postfix) with SMTP id 2286E9FB2F9 for ; Fri, 4 Aug 2006 13:53:18 -0300 (ADT) Received: (qmail 25386 invoked from network); 4 Aug 2006 16:53:18 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.2?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 4 Aug 2006 16:53:18 -0000 In-Reply-To: <29582.1154708340@sss.pgh.pa.us> References: <200608041615.k74GF2M16894@momjian.us> <29582.1154708340@sss.pgh.pa.us> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: Bruce Momjian , Oliver Jowett , Csaba Nagy , Postgres JDBC Content-Transfer-Encoding: 7bit From: Dave Cramer Subject: Re: PGStatement#setPrepareThreshold Date: Fri, 4 Aug 2006 12:53:16 -0400 To: Tom Lane X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.049 tagged_above=0 required=5 tests=AWL, SPF_PASS X-Spam-Level: X-Archive-Number: 200608/25 X-Sequence-Number: 15552 On 4-Aug-06, at 12:19 PM, Tom Lane wrote: > Bruce Momjian writes: >> Dave Cramer wrote: >>> Bind also has a statement name, as well as a portal name ? >>> >>> Ideally I'd like to see the parameters which were bound and the >>> types, but I suspect I'm reaching here. > >> Right, but do we want to repeat the statement for every bind case? > > My upthread proposal was to print the statement and portal names > at bind time. The current printout is very clearly inadequate. > >> The bind parameter printing is on the TODO list. > > Yeah, that one's a bit harder to fix :-( It would be relatively > easy for the case of parameters supplied in text form, but I'm > not sure about binary values. Is JDBC doing anything with binary > parameter transmission yet? No we aren't, even if we were, just printing the text values would be a huge step forward. Dave > > regards, tom lane >