Re: [HACKERS] JDBC and Binary protocol error, for some statements
| От | Maciek Sakrejda |
|---|---|
| Тема | Re: [HACKERS] JDBC and Binary protocol error, for some statements |
| Дата | |
| Msg-id | AANLkTik+vZWCaywc0XyufvkrhJ5b659N9tG5m76VBZ+t@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: [HACKERS] JDBC and Binary protocol error, for some statements (Radosław Smogura <rsmogura@softperience.eu>) |
| Ответы |
Re: [HACKERS] JDBC and Binary protocol error, for some statements
|
| Список | pgsql-jdbc |
> 21:43:02.264 (26) FE=> Describe(statement=S_1) You're still doing the statement-flavor Describe. As Tom pointed out, this won't tell you the result types because it doesn't know them. Actually, technically if you issue a statement-flavor Describe *after* a Bind, the server does have this information, but I'm not surprised that it doesn't send it correctly, since it seems pointless to send the statement variation after already doing a Bind. You may be able to change the JDBC code to call sendDescribePortal() instead. --- Maciek Sakrejda | System Architect | Truviso 1065 E. Hillsdale Blvd., Suite 215 Foster City, CA 94404 (650) 242-3500 Main www.truviso.com
В списке pgsql-jdbc по дате отправления: