From: Greg Smith <greg@2ndquadrant.com>
To: Jason Tan Boon Teck <tanboonteck@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Downgrading v8.4 database to v8.3
Date: Wed, 05 May 2010 11:58:07 -0400
Message-ID: <4BE1958F.8050708@2ndquadrant.com> (raw)
In-Reply-To: <AANLkTinx2YotvMWtFTlB4-Hq57qoxguxgavbU6rpphNX@mail.gmail.com>
References: <AANLkTinx2YotvMWtFTlB4-Hq57qoxguxgavbU6rpphNX@mail.gmail.com>
Jason Tan Boon Teck wrote:
> I need to move some databases written in Psql v8.4 to the stable
> production server running v8.3. I tried pg_dump and pg_restore as well
> as PgAdmin3. I am unable to do so due to the backward
> incompatibility. Is there anyway to do this?
>
You can try connecting a 8.3 client to the 8.4 server, then running
pg_dump from that 8.3 client. That's a common approach for
dump/restore when moving forward a version, and it may resolve your
issue when moving backward one too. The 8.3 client shouldn't dump
anything the 8.3 server doesn't know how to restore.
--
Greg Smith 2ndQuadrant US Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com www.2ndQuadrant.us
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 using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: greg@2ndquadrant.com, tanboonteck@gmail.com
Subject: Re: Downgrading v8.4 database to v8.3
In-Reply-To: <4BE1958F.8050708@2ndquadrant.com>
* 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