"Mike Cannon-Brookes" <mike@atlassian.com> writes:
> Any ideas on this? Do I need to install 7.2 beta to use bytea columns?
No, bytea's been around for a long time. I'm betting that you are
looking at a bug in the JDBC driver ... but I don't know enough about
JDBC to help debug it.
A possible starting point: do you see similar truncation on long
values of non-bytea types, eg text?
regards, tom lane