Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: [BUGS] Possible bug with BYTEA and JDBC




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




Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group