pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Maciek Sakrejda <msakrejda@truviso.com>
Cc: Radosław Smogura <rsmogura@softperience.eu>
Cc: PG Hackers <pgsql-hackers@postgresql.org>
Cc: PostgreSQL JDBC List <pgsql-jdbc@postgresql.org>
Subject: Re: [JDBC] JDBC and Binary protocol error, for some statements
Date: Fri, 26 Nov 2010 01:02:25 -0500
Message-ID: <28532.1290751345@sss.pgh.pa.us> (raw)
In-Reply-To: <AANLkTik+vZWCaywc0XyufvkrhJ5b659N9tG5m76VBZ+t@mail.gmail.com>
References: <a7d41aaa473a1a4c38e04796b9f3ac36@smogura-softworks.eu>
	<AANLkTinPj72jDdJmRJwowmmB8AeU7sFLaUCm7O1nmfdN@mail.gmail.com>
	<201011241918.40930.rsmogura@softperience.eu>
	<AANLkTikkF6YRtHzyH4qLzxUQx=PvrJXOO3K4weF6UM_W@mail.gmail.com>
	<AANLkTi=oe-HryF1Y8C0JH_ifH+Z_4rQb_r5EQEjnxFT_@mail.gmail.com>
	<14932.1290705783@sss.pgh.pa.us>
	<e3a52d52a67f7c30f9a3127b9bfbe6a3@smogura-softworks.eu>
	<AANLkTim9yud09tPLYnbKcAtv=jZHUqVY-1+2BeOS+0d=@mail.gmail.com>
	<18034.1290714129@sss.pgh.pa.us>
	<AANLkTikc6EOh5x7iZdQHzTV902kR36XwvACGQq-jaEZX@mail.gmail.com>
	<f5d0ec72cec2e0fa1c3e048bff2395d9@smogura-softworks.eu>
	<AANLkTik+vZWCaywc0XyufvkrhJ5b659N9tG5m76VBZ+t@mail.gmail.com>

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



view thread (20+ messages)  latest in thread

Message-ID: <28532.1290751345@sss.pgh.pa.us>
Permalink:  ../28532.1290751345@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28532.1290751345@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: tgl@sss.pgh.pa.us, msakrejda@truviso.com, rsmogura@softperience.eu, pgsql-hackers@postgresql.org
  Subject: Re: [JDBC] JDBC and Binary protocol error, for some statements
  In-Reply-To: <28532.1290751345@sss.pgh.pa.us>
  References: <a7d41aaa473a1a4c38e04796b9f3ac36@smogura-softworks.eu> <AANLkTinPj72jDdJmRJwowmmB8AeU7sFLaUCm7O1nmfdN@mail.gmail.com> <201011241918.40930.rsmogura@softperience.eu> <AANLkTikkF6YRtHzyH4qLzxUQx=PvrJXOO3K4weF6UM_W@mail.gmail.com> <AANLkTi=oe-HryF1Y8C0JH_ifH+Z_4rQb_r5EQEjnxFT_@mail.gmail.com> <14932.1290705783@sss.pgh.pa.us> <e3a52d52a67f7c30f9a3127b9bfbe6a3@smogura-softworks.eu> <AANLkTim9yud09tPLYnbKcAtv=jZHUqVY-1+2BeOS+0d=@mail.gmail.com> <18034.1290714129@sss.pgh.pa.us> <AANLkTikc6EOh5x7iZdQHzTV902kR36XwvACGQq-jaEZX@mail.gmail.com> <f5d0ec72cec2e0fa1c3e048bff2395d9@smogura-softworks.eu> <AANLkTik+vZWCaywc0XyufvkrhJ5b659N9tG5m76VBZ+t@mail.gmail.com> <28532.1290751345@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox