pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: Gregory Kotsaftis <gregkotsaftis@yahoo.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Possible bug with BYTEA and JDBC
Date: Sun, 14 Feb 2010 09:42:31 -0500 (EST)
Message-ID: <alpine.BSO.2.00.1002140930110.28652@leary.csoft.net> (raw)
In-Reply-To: <245984.68614.qm@web35304.mail.mud.yahoo.com>
References: <245984.68614.qm@web35304.mail.mud.yahoo.com>



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



view thread (9+ messages)  latest in thread

Message-ID: <alpine.BSO.2.00.1002140930110.28652@leary.csoft.net>
Permalink:  ../alpine.BSO.2.00.1002140930110.28652@leary.csoft.net/
Also on:    postgresql.org/message-id/alpine.BSO.2.00.1002140930110.28652@leary.csoft.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: books@ejurka.com, gregkotsaftis@yahoo.com, pgsql-bugs@postgresql.org
  Subject: Re: Possible bug with BYTEA and JDBC
  In-Reply-To: <alpine.BSO.2.00.1002140930110.28652@leary.csoft.net>
  References: <245984.68614.qm@web35304.mail.mud.yahoo.com> <alpine.BSO.2.00.1002140930110.28652@leary.csoft.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox