|
patch: fix a couple of server-prepared-statement bugs: msg#00177db.postgresql.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
---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: CVS JDBC driver will try to use server-side-prepare on: 00177, Oliver Jowett |
|---|---|
| Next by Date: | resultset.first() untrappable error: 00177, kevin |
| Previous by Thread: | - trigger/function & java methodsi: 00177, |
| Next by Thread: | Re: patch: fix a couple of server-prepared-statement bugs: 00177, Barry Lind |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |