From: Tom Lane <tgl@sss.pgh.pa.us>
To: Oliver Jowett <oliver@opencloud.com>
Cc: Joost Kraaijeveld <J.Kraaijeveld@Askesis.nl>
Cc: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Cc: pgsql-hackers@postgresql.org
Cc: Bruce Momjian <pgman@candle.pha.pa.us>
Subject: Re: prepareThreshold=1 and statement.executeBatch() ??
Date: Sun, 13 Nov 2005 11:04:55 -0500
Message-ID: <4403.1131897895@sss.pgh.pa.us> (raw)
In-Reply-To: <437710D4.3080908@opencloud.com>
References: <1131864485.6535.26.camel@Panoramix>
<Pine.BSO.4.61.0511130350580.6118@leary.csoft.net>
<437710D4.3080908@opencloud.com>
Oliver Jowett <oliver@opencloud.com> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: tgl@sss.pgh.pa.us, oliver@opencloud.com, J.Kraaijeveld@Askesis.nl, books@ejurka.com, pgsql-hackers@postgresql.org, pgman@candle.pha.pa.us
Subject: Re: prepareThreshold=1 and statement.executeBatch() ??
In-Reply-To: <4403.1131897895@sss.pgh.pa.us>
References: <1131864485.6535.26.camel@Panoramix> <Pine.BSO.4.61.0511130350580.6118@leary.csoft.net> <437710D4.3080908@opencloud.com> <4403.1131897895@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox