Re: DB Migration 8.4 -> 8.3

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Eoghan Murray <eoghanomurray(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: DB Migration 8.4 -> 8.3
Date: 2009-06-15 23:13:31
Message-ID: 27336.1245107611@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Eoghan Murray <eoghanomurray(at)gmail(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message gvimrc 2009-06-16 00:16:19 pl/sql resources for pl/pgsql?
Previous Message David Kerr 2009-06-15 22:46:29 Re: Amazon EC2 | Any recent developments