From: | Andreas Kretschmer <akretschmer(at)spamfence(dot)net> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: changing from postgreSQL 8.3 to 9.0 |
Date: | 2011-09-26 10:16:07 |
Message-ID: | 20110926101607.GA18245@tux |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Malm Paul <paul(dot)malm(at)saabgroup(dot)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°
From | Date | Subject | |
---|---|---|---|
Next Message | Gregg Jaskiewicz | 2011-09-26 10:51:20 | bytea insert difference between 8.3 and 9.x |
Previous Message | sunpeng | 2011-09-26 09:11:16 | hi, is that the standard:ISO/IEC 13249-6:2006 if I investigate the data mining extension for SQL language? |