From: Bruce Momjian <pgman@candle.pha.pa.us>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: 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
Subject: Re: prepareThreshold=1 and statement.executeBatch() ??
Date: Tue, 15 Nov 2005 19:47:34 -0500 (EST)
Message-ID: <200511160047.jAG0lY315592@candle.pha.pa.us> (raw)
In-Reply-To: <4403.1131897895@sss.pgh.pa.us>
Tom Lane wrote:
> 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.
The output does look slightly different and was approved by the folks
using this feature. I don't understand the panic about it.
If people using the feature want to submit a patch to modify it, that
seems fine.
--
Bruce Momjian | http://candle.pha.pa.us
pgman@candle.pha.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
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: pgman@candle.pha.pa.us, tgl@sss.pgh.pa.us, oliver@opencloud.com, J.Kraaijeveld@Askesis.nl, books@ejurka.com, pgsql-hackers@postgresql.org
Subject: Re: prepareThreshold=1 and statement.executeBatch() ??
In-Reply-To: <200511160047.jAG0lY315592@candle.pha.pa.us>
References: <4403.1131897895@sss.pgh.pa.us> <200511160047.jAG0lY315592@candle.pha.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