Re: Downgrading from Postgresql 7.4 to 7.1

From: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Downgrading from Postgresql 7.4 to 7.1
Date: 2004-04-21 11:13:08
Message-ID: 20040421111308.GA32081@phlogiston.dyndns.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Apr 19, 2004 at 04:25:21PM -0500, Matt Adams wrote:
> Hello:
>
> I have an awkward situation where I must downgrade from 7.4 to 7.1. I
> have two databases already in 7.4. I'm largely ignorant concerning
> postgresql: am I going to have any severe problems downgrading?

Almost certainly you'll need to do some fiddling to make the dump
output from 7.4 acceptable to 7.1. My guess is that you'll need to
write some sed or perl do do it adequately for you. You may be in
better shape if you ask pg_dump to use INSERT statements instead, but
be aware that this will at least triple your restore time.

But I also wonder why you want to downgrade that far. 7.1 has
several _really big_ disadvantages. There are plenty of bugs in
there fixed in later versions. Also, 7.1 has the limitation that
VACUUM always blocks, so maintenance of the database will get a whole
lot more expensive (7.1's VACUUM is equivalent to later VACUUM
FULL). Why do you have to do this?

A

--
Andrew Sullivan | ajs(at)crankycanuck(dot)ca
In the future this spectacle of the middle classes shocking the avant-
garde will probably become the textbook definition of Postmodernism.
--Brad Holland

In response to

Browse pgsql-general by date

  From Date Subject
Next Message kostas 2004-04-21 11:14:24 newsbie: ORDBMS vs RDBMS
Previous Message Andrew Kelly 2004-04-21 10:17:31 Re: convert result to uppercase