Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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

pgsql-hackers by date

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

pgsql-jdbc by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group