From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michal Politowski <mpol+pg@meep.pl>
Cc: pgsql-general@postgresql.org
Subject: Re: Mixed up protocol packets in server response?
Date: Wed, 01 Jun 2011 10:11:11 -0400
Message-ID: <17825.1306937471@sss.pgh.pa.us> (raw)
In-Reply-To: <20110601130649.GA21333@meep.pl>
References: <20110601130649.GA21333@meep.pl>
Michal Politowski <mpol+pg@meep.pl> writes:
> 2. then looking at the answer array in ReceiveTupleV3:
> ...
> So it looks like the server wanted to send
> D row 1, D row 2, D row 3, D row 4, C SELECT, Z T
> but the application sees
> D ro, ow 4, C SELECT, Z T, w 1, D row 2, D row 3, D r
> What may be the cause of this weird problem? Is it some known or unknown bug in
> 8.3.4 or is the application/Java side more suspected?
It's just about impossible to believe that the server sent that, because
(1) it generates and sends those messages one at a time, and (2) nothing
of the sort has ever been reported before. My money is on some foulup
in buffer-wrangling on the client side.
regards, tom lane
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, mpol+pg@meep.pl, pgsql-general@postgresql.org
Subject: Re: Mixed up protocol packets in server response?
In-Reply-To: <17825.1306937471@sss.pgh.pa.us>
References: <20110601130649.GA21333@meep.pl> <17825.1306937471@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