Re: prepareThreshold=1 and statement.executeBatch() ??

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: prepareThreshold=1 and statement.executeBatch() ??
Дата
Msg-id 200511160047.jAG0lY315592@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: prepareThreshold=1 and statement.executeBatch() ??  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Kris Jurka
Дата:
Сообщение: Re: ErrorCodes suddenly stopped working? [possibly my
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: Problem with storing Images in PostgreSQL