Re: DB Migration 8.4 -> 8.3 - Mailing list pgsql-general

From Tom Lane
Subject Re: DB Migration 8.4 -> 8.3
Date
Msg-id 27336.1245107611@sss.pgh.pa.us
Whole thread Raw
In response to DB Migration 8.4 -> 8.3  (Eoghan Murray <eoghanomurray@gmail.com>)
List pgsql-general
Eoghan Murray <eoghanomurray@gmail.com> writes:
> How can I migrate a database from 8.4 to 8.3?

The only way is to dump to text (no -Fc or -Ft) with 8.4's pg_dump,
and then manually edit the file until 8.3 will take it.

>    8.3: pg_restore: [archiver] input file does not appear to be a
> valid archive

It's possible here that your only mistake was using -Fc.  That format
isn't necessarily backwards-compatible.

            regards, tom lane

pgsql-general by date:

Previous
From: David Kerr
Date:
Subject: Re: Amazon EC2 | Any recent developments
Next
From: Eoghan Murray
Date:
Subject: Re: DB Migration 8.4 -> 8.3