Re: - upgrade advice

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "fel" <fellsin(at)hotmail(dot)com>,<pgsql-admin(at)postgresql(dot)org>
Subject: Re: - upgrade advice
Date: 2011-06-03 13:35:11
Message-ID: 4DE89CBF020000250003E076@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

fel <fellsin(at)hotmail(dot)com> wrote:

> 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.

I would use pg_dump executing on the new system (pointing to the old
database) and pipe the output directly into psql to populate the new
database.

-Kevin

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Mike Broers 2011-06-03 14:46:53 any tricks to get foreign key constraint builds faster
Previous Message Brett Parker 2011-06-03 13:31:49 Re: viewing results in terminal on RedHat 6.1