Re: upgrading, but learned about pg_dumpall too late

From: Andrzej Zawadzki <zawadaa(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: upgrading, but learned about pg_dumpall too late
Date: 2010-02-21 19:20:03
Message-ID: 4B818763.6030502@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On 21.02.2010 00:22, Greg Stark wrote:
> On Sat, Feb 20, 2010 at 10:42 PM, Andrzej Zawadzki <zawadaa(at)gmail(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Iñigo Martinez Lasala 2010-02-22 14:40:32 Re: Using Postgresql Replication
Previous Message Guy Deleeuw 2010-02-21 10:15:17 Re: C trigger problem : conversion of CString to Datum