Re: Mixed up protocol packets in server response? - Mailing list pgsql-general

From Tom Lane
Subject Re: Mixed up protocol packets in server response?
Date
Msg-id 25344.1307109239@sss.pgh.pa.us
Whole thread Raw
In response to Re: Mixed up protocol packets in server response?  (Michal Politowski <mpol+pg@meep.pl>)
Responses Re: Mixed up protocol packets in server response?  (Michal Politowski <mpol+pg@meep.pl>)
List pgsql-general
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

pgsql-general by date:

Previous
From: Dean Rasheed
Date:
Subject: Re: Hidden Risk w/ UPDATE Cascade and Trigger-Based Validation
Next
From: Tom Lane
Date:
Subject: Re: Hidden Risk w/ UPDATE Cascade and Trigger-Based Validation