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

From Tom Lane
Subject Re: [JDBC] JDBC and Binary protocol error, for some statements
Date
Msg-id 28532.1290751345@sss.pgh.pa.us
Whole thread Raw
In response to Re: [JDBC] JDBC and Binary protocol error, for some statements  (Maciek Sakrejda <msakrejda@truviso.com>)
Responses Re: [JDBC] JDBC and Binary protocol error, for some statements  (Radosław Smogura <rsmogura@softperience.eu>)
Re: [JDBC] JDBC and Binary protocol error, for some statements  (Radosław Smogura <rsmogura@softperience.eu>)
List pgsql-hackers
Maciek Sakrejda <msakrejda@truviso.com> writes:
>> 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.

In principle you could open more than one Portal off a Statement
at the same time, so it wouldn't necessarily be well-defined anyway.

            regards, tom lane

pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: Re: [BUGS] BUG #5650: Postgres service showing as stopped when in fact it is running
Next
From: Tom Lane
Date:
Subject: Re: Assertion failure on hot standby