Re: Which version of PostgreSQL should I use. - Mailing list pgsql-sql

From Jasmin Dizdarevic
Subject Re: Which version of PostgreSQL should I use.
Date
Msg-id BANLkTimMyHpZp0F0AX5RDFqTHRA_tChfrA@mail.gmail.com
Whole thread Raw
In response to Re: Which version of PostgreSQL should I use.  (Craig Ringer <craig@postnewspapers.com.au>)
Responses Re: Which version of PostgreSQL should I use.
List pgsql-sql
Alright, I've misunderstood this issue. Do you have to escape bytea columns during export or import? And how you would do this?

Ty


2011/5/24 Craig Ringer <craig@postnewspapers.com.au>
On 24/05/11 14:30, jasmin.dizdarevic@gmail.com wrote:
> We had trbls with our drupal site, because some settings are stored in bytea columns. I think lobs are a problem too, but pls see the pg_dump docs for details.

Is it possible that you are referring to the `bytea_output' setting in
PostgreSQL 8.4 and above?

If so, the issue isn't that pg_dump somehow fails to dump the bytea
data. Rather, it's that drupal doesn't deal well with bytea data from
newer versions of PostgreSQL until the bytea_output setting is changed
to 'escape' because it doesn't understand the new hex format.

--
Craig Ringer

pgsql-sql by date:

Previous
From: Jasmin Dizdarevic
Date:
Subject: Re: Performance of NOT IN and <> with PG 9.0.4
Next
From: Jasmin Dizdarevic
Date:
Subject: Re: Performance of NOT IN and <> with PG 9.0.4