X-Original-To: pgsql-jdbc-postgresql.org@postgresql.org Received: from localhost (wm.hub.org [200.46.204.128]) by postgresql.org (Postfix) with ESMTP id 79E259FB2DD for ; Fri, 4 Aug 2006 13:19:18 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.128]) (amavisd-new, port 10024) with ESMTP id 74956-08 for ; Fri, 4 Aug 2006 16:19:10 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id BF0BF9FB2BE for ; Fri, 4 Aug 2006 13:19:09 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id k74GJ0oI029583; Fri, 4 Aug 2006 12:19:00 -0400 (EDT) To: Bruce Momjian cc: Dave Cramer , Oliver Jowett , Csaba Nagy , Postgres JDBC Subject: Re: PGStatement#setPrepareThreshold In-reply-to: <200608041615.k74GF2M16894@momjian.us> References: <200608041615.k74GF2M16894@momjian.us> Comments: In-reply-to Bruce Momjian message dated "Fri, 04 Aug 2006 12:15:02 -0400" Date: Fri, 04 Aug 2006 12:19:00 -0400 Message-ID: <29582.1154708340@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200608/22 X-Sequence-Number: 15549 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? regards, tom lane