Out of curiosity, have you tried the "next gen" pgsql jdbc driver? I wonder if you get any different behavior there.