Re: pg_upgrade: downgradebility - Mailing list pgsql-hackers

From Gavin Sherry
Subject Re: pg_upgrade: downgradebility
Date
Msg-id Pine.LNX.4.58.0609202125500.1657@linuxworld.com.au
Whole thread Raw
In response to Re: pg_upgrade: downgradebility  (Andrew Sullivan <ajs@crankycanuck.ca>)
Responses Re: pg_upgrade: downgradebility  (Andrew Sullivan <ajs@crankycanuck.ca>)
Re: pg_upgrade: downgradebility  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
List pgsql-hackers
On Wed, 20 Sep 2006, Andrew Sullivan wrote:

> On Wed, Sep 20, 2006 at 12:54:14PM +0200, Zdenek Kotala wrote:
> > My first question is how important is downgrade for You and Your customers?
> >
> >
> > And second is how to verify that downgrade is possible?
>
> Well, one way to do it is to set up a Slony replica using the older
> version of the software.  So, if you've upgraded to 8.1.x, you
> replicate to an old 8.0.x back end as well.  If 8.1 doesn't work for
> you, you just MOVE everything back to the 8.0.x back end, and you're
> golden.

Well, I think that people who really want downgrade in such a tool are
those for which slony replication is just not an option. That is, data in
the range of hundreds of gigabytes. Using slony to upgrade is often not
practical either.

I wonder if pg_upgrade could be designed in such a way that upgrade is the
same as downgrade from a development point of view. That is, the tool can
change the system from one binary format to another.

Thanks,

Gavin


pgsql-hackers by date:

Previous
From: "Andrew Dunstan"
Date:
Subject: Re: polite request about syntax
Next
From: Bruce Momjian
Date:
Subject: Re: Release notes