Re: Large object corruption during 'piped' pg_restore - Mailing list pgsql-general

From Tom Lane
Subject Re: Large object corruption during 'piped' pg_restore
Date
Msg-id 21625.1295559705@sss.pgh.pa.us
Whole thread Raw
In response to Large object corruption during 'piped' pg_restore  (Bosco Rama <postgres@boscorama.com>)
Responses Re: Large object corruption during 'piped' pg_restore
List pgsql-general
Bosco Rama <postgres@boscorama.com> writes:
> We've discovered (or possibly rediscovered?) a corruption when restoring large
> objects.

> If 'standard_conforming_strings = on' is set in our DB (which is required for
> our app) then the piped restore method (e.g. pg_restore -O backup.dat | psql)
> results in the large objects being corrupted.

This vaguely reminds me of some long-since-fixed bug, but since you have
neglected to give any version details, it's hard to say for sure.
What PG version was the original server?  The pg_dump you used to make
the backup?  The pg_restore?  The target server?

            regards, tom lane

pgsql-general by date:

Previous
From: Bosco Rama
Date:
Subject: Large object corruption during 'piped' pg_restore
Next
From: "Robert Paresi"
Date:
Subject: Re: Moving from SQL Anywhere to PostGres - First Time