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: Fri, 03 Jun 2011 09:53:59 -0400
Message-ID: <25344.1307109239@sss.pgh.pa.us> (raw)
In-Reply-To: <20110603130357.GA7961@meep.pl>
References: <20110601130649.GA21333@meep.pl>
<4DE6DE56.8030008@postnewspapers.com.au>
<20110603130357.GA7961@meep.pl>
Michal Politowski <mpol+pg@meep.pl> writes:
> Thinking aloud: If this is, as it is to be suspected, an application-side problem,
> there is at first sight not much space in the application where it could hide. The data is
> mixed up in a driver buffer, two method calls from the standard library
> socket code. There is the VisibleBufferedInputStream there. Could it do
> something like this? Maybe if the connection was erroneously used from two threads
> concurrently? The connections are pooled via commons-dbcp BasicDataSource
> and queries are executed via Spring JdbcTemplate within Spring-configured
> transaction. No passing connections by hand anywhere, everything should be
> nicely thread-bound. Still, if not here, where could it go wrong?
You'd probably be better off asking these questions in pgsql-jdbc ...
a lot of us here don't even speak Java.
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: <25344.1307109239@sss.pgh.pa.us>
References: <20110601130649.GA21333@meep.pl> <4DE6DE56.8030008@postnewspapers.com.au> <20110603130357.GA7961@meep.pl> <25344.1307109239@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