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

Поиск
Список
Период
Сортировка
От Maciek Sakrejda
Тема Re: [JDBC] JDBC and Binary protocol error, for some statements
Дата
Msg-id AANLkTim=_21pCC1oidiBbX_h=UiWjM9Zub3FvA34_z0m@mail.gmail.com
обсуждение исходный текст
Ответ на Re: [JDBC] JDBC and Binary protocol error, for some statements  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [JDBC] JDBC and Binary protocol error, for some statements
Список pgsql-hackers
Interesting. I think you're right. Looking at the Wireshark traffic
again, the driver seems to issue a portal-variant Describe when using
unnamed prepared statements, but as soon as the named prepared
statements kick in (per prepare threshold), the Describe is a
statement-variant Describe with the expected behavior you've noted.
Actually, the driver sends Parse / Bind / Describe with the unnamed
statement, but for some reason switches to Parse / Describe / Bind
with named ones.
---
Maciek Sakrejda | System Architect | Truviso

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

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Regression Tests (opr) Sanity
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Re: Regression Tests (opr) Sanity