Issues with imported blobs from Postgres 8 to 9 - Mailing list pgsql-general

From Mahdi Mankai
Subject Issues with imported blobs from Postgres 8 to 9
Date
Msg-id AFDEB286-DF00-4F1D-AA23-D877AB53A1C4@fuegoondemand.com
Whole thread Raw
Responses Re: Issues with imported blobs from Postgres 8 to 9  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Hi,

I created a database dumb using pg_dump on Postgres 8.3.6. After that I tried to import the same database into a Postgres 9.0 install. Everything worked fine except some image blobs. Some of them seem to be corrupt.

OS: Mac OS X Server 10.5.8. The same issue happened on Mac OS X client 10.6.6.

I downloaded the Postgres 9 version taken from Enterprise DB. I also tried the one from http://www.postgresqlformac.com/ since my initial database was created in Postgres 8 downloaded from there. I had the same issue.

In some forums, it was mentioned that I needed to set bytea_output = 'escape' in the config file. Which I did with no luck even after deleting and importing the DB again.

Any suggestion?

Thanks,

Mahdi

pgsql-general by date:

Previous
From: "Rob Richardson"
Date:
Subject: Re: Thoroughly confused about time zones
Next
From: Rob Sargent
Date:
Subject: Re: Permission denied when inserting