Re: pg_restore

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: linh(dot)luong(at)computalog(dot)com, pgsql-general(at)postgresql(dot)org
Subject: Re: pg_restore
Date: 2001-11-08 01:27:46
Message-ID: 8207.1005182866@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> No. You could try the 7.1 pg_dump/pg_restore with 7.0, but it probably
> won't work.

Actually I believe 7.1.1 and later pg_dump *is* backwards compatible
with a 7.0.* server. The output script isn't, but it should be possible
to use the newer pg_dump to dump out your 7.0 database in preparation
for upgrading.

Not sure how well tested that mode is, mind you, but it's alleged to
work. I'd recommend running some experiments before trusting it
completely. (If you can load a schema-only dump of your 7.0 database
into a 7.1 test installation, and everything looks okay, that's probably
enough testing.)

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Hiroshi Inoue 2001-11-08 01:46:19 Re: LIKE predicate and '\' character
Previous Message GB Clark II 2001-11-08 01:08:14 small problem updating to 7.2...