Re: changing from postgreSQL 8.3 to 9.0

Поиск
Список
Период
Сортировка
От Andreas Kretschmer
Тема Re: changing from postgreSQL 8.3 to 9.0
Дата
Msg-id 20110926101607.GA18245@tux
обсуждение исходный текст
Ответ на changing from postgreSQL 8.3 to 9.0  (Malm Paul <paul.malm@saabgroup.com>)
Список 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 по дате отправления:

Предыдущее
От: Malm Paul
Дата:
Сообщение: changing from postgreSQL 8.3 to 9.0
Следующее
От: Gregg Jaskiewicz
Дата:
Сообщение: bytea insert difference between 8.3 and 9.x