Re: [BUGS] Possible bug with BYTEA and JDBC
Re: [BUGS] Possible bug with BYTEA and JDBC
От:
Kris Jurka <books@ejurka.com>
Дата:
I saw this on the bugs list first and replied there, but I figured I ought to repost it here as well... On Sun, 14 Feb 2010, Kris Jurka wrote: > On Sat, 13 Feb 2010, Gregory Kotsaftis wrote: > >> postgresql-8.4-701.jdbc4.jar >> postgresql-8.5alpha3 >> >> I followed the steps in the blob tutorial and tried to test the BYTEA >> example: > > The 8.5/9.0 release has changed the default bytea output format and the 8.4 > JDBC driver does not support it. You've got a couple of options: > > 1) Change the bytea format back to the 8.4 supported format. Set > bytea_output = escape in your postgresql.conf. > > 2) Build the JDBC driver from CVS which does support the new format. > > 3) Use an 8.4 server. > > Kris Jurka >