From: Jim Nasby <decibel@decibel.org>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-admin@postgresql.org, Shane Ambler <pgsql@007marketing.com>
Cc: Richard Broersma Jr <rabroersma@yahoo.com>
Cc: eddy@axa.it
Subject: Re: dump from 8.x restore to 7.3.x
Date: Mon, 4 Dec 2006 14:25:06 -0800
Message-ID: <C2D0F0DA-5CAD-462D-A133-AD175927892D@decibel.org> (raw)
In-Reply-To: <200611301452.37666.peter_e@gmx.net>
References: <475722.43429.qm@web31810.mail.mud.yahoo.com>
<456EBBEE.7090107@007Marketing.com>
<200611301452.37666.peter_e@gmx.net>
On Nov 30, 2006, at 5:52 AM, Peter Eisentraut wrote:
> Shane Ambler wrote:
>> I don't see that as being the case - there will be exceptions where
>> you have new features in an 8.x database that won't work in a 7.x db
>> but otherwise it shouldn't matter, the dumps can be used to import
>> into other databases than postgres as long as you use dump with
>> inserts instead of copy and use common datatypes.
>
> Restoring dumps from new versions into old versions doesn't work
> (without a lot of manual work). Example cases:
On the other hand, dumping a newer version database with an older
version of *pg_dump* is much more likely to succeed. It's not a
guarantee, but it should get you pretty close. And as someone else
mentioned, doing a plain text dump is probably your best bet in this
case.
--
Jim Nasby jim@nasby.net
EnterpriseDB http://enterprisedb.com 512.569.9461 (cell)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: decibel@decibel.org, peter_e@gmx.net, pgsql@007marketing.com, rabroersma@yahoo.com, eddy@axa.it
Subject: Re: dump from 8.x restore to 7.3.x
In-Reply-To: <C2D0F0DA-5CAD-462D-A133-AD175927892D@decibel.org>
References: <475722.43429.qm@web31810.mail.mud.yahoo.com> <456EBBEE.7090107@007Marketing.com> <200611301452.37666.peter_e@gmx.net> <C2D0F0DA-5CAD-462D-A133-AD175927892D@decibel.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox