pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Greg Smith <greg@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: 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 12:29:48 -0400
Message-ID: <4BE19CFC.4070101@2ndquadrant.com> (raw)
In-Reply-To: <3377.1273076004@sss.pgh.pa.us>
References: <AANLkTinx2YotvMWtFTlB4-Hq57qoxguxgavbU6rpphNX@mail.gmail.com>
	<4BE1958F.8050708@2ndquadrant.com>
	<3377.1273076004@sss.pgh.pa.us>

Tom Lane wrote:
> That's very likely to fail, and worse to do so silently, because 8.3
> pg_dump doesn't know what's different about 8.4 system catalogs.
> I think your only real recourse in this situation is to do a plain dump
> from the 8.4 server (with 8.4 pg_dump) and then manually edit the dump
> script to remove any 8.4-only syntax.

I tried not to sound optimistic about it working.  Thought it might be 
worth a shot though, on the possibility that a simple schema might not 
trip over any of the 8.4 catalog changes.  Another idea here, along the 
path of manually editing dumps, is to dump from both 8.3 and 8.4 clients 
and look at the difference between the two, to help get an idea what 
changed syntax is responsible for the problems.

-- 
Greg Smith  2ndQuadrant US  Baltimore, MD
PostgreSQL Training, Services and Support
greg@2ndQuadrant.com   www.2ndQuadrant.us




view thread (12+ messages)  latest in thread

Message-ID: <4BE19CFC.4070101@2ndquadrant.com>
Permalink:  ../4BE19CFC.4070101@2ndquadrant.com/
Also on:    postgresql.org/message-id/4BE19CFC.4070101@2ndquadrant.com

 · 

reply

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, tgl@sss.pgh.pa.us, tanboonteck@gmail.com
  Subject: Re: Downgrading v8.4 database to v8.3
  In-Reply-To: <4BE19CFC.4070101@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