Thread: - Upgrade advice

- Upgrade advice

From
fel
Date:
Hello all,

I would need advice regarding upgrade.

I have a small server running RHEL 5.2 32bit / Postgresql 8.3.3.
I would like to upgrade Postgres to 9.0 on a new server running RHEL 5.5 but 64bit.

What would be the best solution :
- Dump data from 32bit to 64bit then upgrade to v9.0 (using pg_upgrade).
- Upgrade to v9.0 then dump from 32 to 64bit.
- Dump from 8.3-32bit to 9.0-64bit.

Fel.







Re: - Upgrade advice

From
Alan Hodgson
Date:

On June 3, 2011, fel <fellsin@hotmail.com> wrote:

> What would be the best solution :

> - Dump data from 32bit to 64bit then upgrade to v9.0 (using pg_upgrade).

> - Upgrade to v9.0 then dump from 32 to 64bit.

> - Dump from 8.3-32bit to 9.0-64bit.


Just dump from 8.3-32bit to 9.0-64bit. Pay attention to the various changelogs in case your application will be affected by functionality changes.


The only reason to do pg_upgrade is to avoid a dump/reload cycle, but that isn't an option in your case (at least, I'm pretty sure it isn't).