Re: changing from postgreSQL 8.3 to 9.0 - Mailing list pgsql-general

From Andreas Kretschmer
Subject Re: changing from postgreSQL 8.3 to 9.0
Date
Msg-id 20110926101607.GA18245@tux
Whole thread Raw
In response to changing from postgreSQL 8.3 to 9.0  (Malm Paul <paul.malm@saabgroup.com>)
List pgsql-general
Malm Paul <paul.malm@saabgroup.com> wrote:

> Hi,
> I have a database created on ver 8.3 an have restored the database in a new
> database in PostgreSQL 9.0.
> In the database i'm using a column storing "bytea".
>
> When trying to read the database with my java application, I have problems
> reading from the bytea-stream.

You can set bytea_output from 'hex' (now default) to 'escape'
(traditional format). You can do that in the postgresq.conf (for the
whole cluster), via ALTER DATABASE or per session.


HTH.


Andreas
--
Really, I'm not out to destroy Microsoft. That will just be a completely
unintentional side effect.                              (Linus Torvalds)
"If I was god, I would recompile penguin with --enable-fly."   (unknown)
Kaufbach, Saxony, Germany, Europe.              N 51.05082°, E 13.56889°

pgsql-general by date:

Previous
From: Malm Paul
Date:
Subject: changing from postgreSQL 8.3 to 9.0
Next
From: Gregg Jaskiewicz
Date:
Subject: bytea insert difference between 8.3 and 9.x