Re: [JDBC] JDBC and Binary protocol error, for some statements - Mailing list pgsql-hackers

From Maciek Sakrejda
Subject Re: [JDBC] JDBC and Binary protocol error, for some statements
Date
Msg-id AANLkTim=_21pCC1oidiBbX_h=UiWjM9Zub3FvA34_z0m@mail.gmail.com
Whole thread Raw
In response to Re: [JDBC] JDBC and Binary protocol error, for some statements  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [JDBC] JDBC and Binary protocol error, for some statements  (Maciek Sakrejda <msakrejda@truviso.com>)
List 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 by date:

Previous
From: Tom Lane
Date:
Subject: Re: Regression Tests (opr) Sanity
Next
From: Dimitri Fontaine
Date:
Subject: Re: Regression Tests (opr) Sanity