Re: [JDBC] prepareThreshold=1 and statement.executeBatch() ?? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [JDBC] prepareThreshold=1 and statement.executeBatch() ??
Date
Msg-id 4403.1131897895@sss.pgh.pa.us
Whole thread Raw
In response to Re: [JDBC] prepareThreshold=1 and statement.executeBatch() ??  (Kris Jurka <books@ejurka.com>)
Responses Re: [JDBC] prepareThreshold=1 and statement.executeBatch() ??  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
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

pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Multi-table-unique-constraint
Next
From: Andrew Dunstan
Date:
Subject: Re: Multi-table-unique-constraint