Re: prepareThreshold=1 and statement.executeBatch() ?? - Mailing list pgsql-jdbc

From Bruce Momjian
Subject Re: prepareThreshold=1 and statement.executeBatch() ??
Date
Msg-id 200511160047.jAG0lY315592@candle.pha.pa.us
Whole thread Raw
In response to Re: prepareThreshold=1 and statement.executeBatch() ??  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-jdbc
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

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: ErrorCodes suddenly stopped working? [possibly my
Next
From: Kris Jurka
Date:
Subject: Re: Problem with storing Images in PostgreSQL