X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 5B0B9DB593; Sun, 13 Nov 2005 12:05:26 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 80265-01; Sun, 13 Nov 2005 16:05:25 +0000 (GMT) X-Greylist: from auto-whitelisted by SQLgrey- X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id C4C29DB34B; Sun, 13 Nov 2005 12:05:24 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id jADG4tup004404; Sun, 13 Nov 2005 11:04:56 -0500 (EST) To: Oliver Jowett cc: Joost Kraaijeveld , Kris Jurka , "pgsql-jdbc@postgresql.org" , pgsql-hackers@postgresql.org, Bruce Momjian Subject: Re: prepareThreshold=1 and statement.executeBatch() ?? In-reply-to: <437710D4.3080908@opencloud.com> References: <1131864485.6535.26.camel@Panoramix> <437710D4.3080908@opencloud.com> Comments: In-reply-to Oliver Jowett message dated "Sun, 13 Nov 2005 23:09:24 +1300" Date: Sun, 13 Nov 2005 11:04:55 -0500 Message-ID: <4403.1131897895@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.006 required=5 tests=[AWL=0.006] X-Spam-Score: 0.006 X-Spam-Level: X-Archive-Number: 200511/101 X-Sequence-Number: 14199 Oliver Jowett writes: > The driver does not actually issue PREPARE or EXECUTE statements; the > server is pretending that the protocol-level Prepare/Bind/Execute > messages are actually something issuing PREPARE/EXECUTE at the SQL level I had not realized that the logging code recently added to Parse/Bind/Execute deliberately obscures the difference between a Parse message and an SQL PREPARE (etc). This is a terrible decision IMHO and needs to be fixed forthwith. regards, tom lane