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 49E009FB212 for ; Thu, 3 Aug 2006 19:49:17 -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 01072-03 for ; Thu, 3 Aug 2006 22:49:09 +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 DB1DD9FB1FB for ; Thu, 3 Aug 2006 19:49:08 -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 k73Mn0od027184; Thu, 3 Aug 2006 18:49:00 -0400 (EDT) To: Dave Cramer cc: Oliver Jowett , Csaba Nagy , Postgres JDBC , Bruce Momjian Subject: Re: PGStatement#setPrepareThreshold In-reply-to: References: <1154529173.21451.27.camel@coppola.muc.ecircle.de> <44D19215.1070002@opencloud.com> <1154596670.21451.44.camel@coppola.muc.ecircle.de> <25044.1154635187@sss.pgh.pa.us> <5DA7BECA-42E8-4A94-ADDC-ACCA42F6DF5F@fastcrypt.com> <44D27558.3040907@opencloud.com> Comments: In-reply-to Dave Cramer message dated "Thu, 03 Aug 2006 18:20:47 -0400" Date: Thu, 03 Aug 2006 18:49:00 -0400 Message-ID: <27183.1154645340@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200608/17 X-Sequence-Number: 15544 Dave Cramer writes: > Thanks for clarifying that Oliver, the logs are still misleading in > that they don't name the statement used in the bind message. Pretty much exactly my point. The distinction between statement name and portal name is critical at the protocol level and has no real counterpart at the SQL level (prepared statement name vs cursor name is similar but I think not exactly the same namespaces). The logging code is not getting this right. regards, tom lane