Malm Paul <paul.malm@xxxxxxxxxxxxx> 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° -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general