patch: fix a couple of server-prepared-statement bugs

Поиск
Список
Период
Сортировка
От Oliver Jowett
Тема patch: fix a couple of server-prepared-statement bugs
Дата
Msg-id 20030816053315.GA14656@opencloud.com
обсуждение исходный текст
Ответы Re: patch: fix a couple of server-prepared-statement bugs
Список pgsql-jdbc
This patch fixes two bugs related to setUseServerPrepare() (and adds
unit tests for them):

1. Turning server-prepare from on to off before a query is executed results
in an invalid "DEALLOCATE null" query being sent to the backend.

2. setBytes() uses a type of 'text' not 'bytea' when generating a PREPARE,
resulting in typecasting problems.

-O

Вложения

В списке pgsql-jdbc по дате отправления:

Предыдущее
От: Oliver Jowett
Дата:
Сообщение: Re: CVS JDBC driver will try to use server-side-prepare on
Следующее
От: kevin@mtel.co.uk (kevin)
Дата:
Сообщение: resultset.first() untrappable error