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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Maciek Sakrejda <msakrejda(at)truviso(dot)com>
Cc: Radosław Smogura <rsmogura(at)softperience(dot)eu>, PG Hackers <pgsql-hackers(at)postgresql(dot)org>, PostgreSQL JDBC List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: [JDBC] JDBC and Binary protocol error, for some statements
Date: 2010-11-26 06:02:25
Message-ID: 28532.1290751345@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-jdbc

Maciek Sakrejda <msakrejda(at)truviso(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2010-11-26 06:11:42 Re: Assertion failure on hot standby
Previous Message Fujii Masao 2010-11-26 04:25:19 Re: Re: [BUGS] BUG #5650: Postgres service showing as stopped when in fact it is running

Browse pgsql-jdbc by date

  From Date Subject
Next Message Radosław Smogura 2010-11-26 07:37:39 Re: [JDBC] JDBC and Binary protocol error, for some statements
Previous Message Thomas Kellerer 2010-11-25 21:51:57 Re: getTables() doesn't handle umlauts correctly