Re: upgrading, but learned about pg_dumpall too late - Mailing list pgsql-admin

From Andrzej Zawadzki
Subject Re: upgrading, but learned about pg_dumpall too late
Date
Msg-id 4B818763.6030502@gmail.com
Whole thread Raw
In response to Re: upgrading, but learned about pg_dumpall too late  (Greg Stark <gsstark@mit.edu>)
List pgsql-admin
On 21.02.2010 00:22, Greg Stark wrote:
> On Sat, Feb 20, 2010 at 10:42 PM, Andrzej Zawadzki <zawadaa@gmail.com> wrote:
>
>> Downgrade to 7.4
>> Dump
>> Upgrade
>> Restore
>>
>>
> Actually that's not the best way.
>
>
True bat not easier for beginner ;-)
> The best way is to install 7.4 and 8.1.19 (not 8.1.11 which has known
> bugs) at the same time.
>
> Use the pg_dump *from* *8.1.19* to connect to the 7.4 server and dump
> the database.
> Then shut down 7.4 and start up 8.1.19 and use pg_restore to restore
> the database.
>
BTW. Isn't better make static (?) (stand alone) build of pg_dump(all)?
Postgresql engine could be 7.1 and pg_dump will in 8.1 version.
Much easier to upgrade on one machine.

--
Andrzej Zawadzki

pgsql-admin by date:

Previous
From: Guy Deleeuw
Date:
Subject: Re: C trigger problem : conversion of CString to Datum
Next
From: Iñigo Martinez Lasala
Date:
Subject: Re: Using Postgresql Replication