Re: Possible bug with BYTEA and JDBC

From: Kris Jurka <books(at)ejurka(dot)com>
To: Gregory Kotsaftis <gregkotsaftis(at)yahoo(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Possible bug with BYTEA and JDBC
Date: 2010-02-14 14:42:31
Message-ID: alpine.BSO.2.00.1002140930110.28652@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-jdbc

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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Kris Jurka 2010-02-14 14:44:54 Re: [BUGS] Possible bug with BYTEA and JDBC
Previous Message Gregory Kotsaftis 2010-02-13 11:41:25 Possible bug with BYTEA and JDBC

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2010-02-14 14:44:54 Re: [BUGS] Possible bug with BYTEA and JDBC
Previous Message dmp 2010-02-13 21:56:29 Re: Possible bug with BYTEA and JDBC