Re: [HACKERS] JDBC and Binary protocol error, for some statements

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] JDBC and Binary protocol error, for some statements
Дата
Msg-id 18034.1290714129@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] JDBC and Binary protocol error, for some statements  (Maciek Sakrejda <msakrejda@truviso.com>)
Ответы Re: [HACKERS] JDBC and Binary protocol error, for some statements  (Maciek Sakrejda <msakrejda@truviso.com>)
Список pgsql-jdbc
Maciek Sakrejda <msakrejda@truviso.com> writes:
>> But to the last part of cited protocol specification, when I've sent message with statement parameter's type int4,
int8,varchar the format 
>> field wasn't set to 0, but 1.

> I wasn't able to reproduce that with my standalone test case. When I
> changed the parameter oid to 23, I still got the same behavior. Can
> you alter my test case to reproduce the error?

I'd be really surprised if that affected the server-side behavior.
OTOH, it seems possible that the JDBC driver might behave differently
depending on whether parameter types were prespecified or not --- it
might issue Describe earlier in order to get the parameter types,
perhaps.

            regards, tom lane

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

Предыдущее
От: Radosław Smogura
Дата:
Сообщение: Re: [HACKERS] JDBC and Binary protocol error, for some statements
Следующее
От: Maciek Sakrejda
Дата:
Сообщение: Re: [HACKERS] JDBC and Binary protocol error, for some statements