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

Поиск
Список
Период
Сортировка
От Maciek Sakrejda
Тема Re: [HACKERS] JDBC and Binary protocol error, for some statements
Дата
Msg-id AANLkTikc6EOh5x7iZdQHzTV902kR36XwvACGQq-jaEZX@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [HACKERS] JDBC and Binary protocol error, for some statements  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] JDBC and Binary protocol error, for some statements  (Radosław Smogura <rsmogura@softperience.eu>)
Список pgsql-jdbc
> 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.

Ah. Bingo:

        boolean describeStatement = describeOnly || (!oneShot &&
paramsHasUnknown && queryHasUnknown && !query.isStatementDescribed());


---
Maciek Sakrejda | System Architect | Truviso

1065 E. Hillsdale Blvd., Suite 215
Foster City, CA 94404
(650) 242-3500 Main
www.truviso.com

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

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