Re: Upgrading Database: need to dump and restore?

From: Jasen Betts <jasen(at)xnet(dot)co(dot)nz>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Upgrading Database: need to dump and restore?
Date: 2009-06-08 11:29:38
Message-ID: h0isn2$bu8$3@reversiblemaps.ath.cx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2009-06-03, Carlos Oliva <carlos(at)pbsinet(dot)com> wrote:
> Woudl it be possible to keep the current postgresql version running in a
> different port, install a new version of postgresql, and copy the data from
> one version to the other while both versions are running? This might give
> us time to copy the tables and databases one at a time and reconfigure the
> database access for parts of the application until we complete the migration
> to the new version.

Yes that's possible. The debian packaged versions since 8.0 are
designed to facilitate multiple clusters on a single host, and if you
install two major versions of postgres it'll automatically set them up
for you using port 5433 for the new version.

On redhat it may not be so easy.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Dimitri Fontaine 2009-06-08 11:37:00 Re: PL/PGSQL
Previous Message Grand, Mark D. 2009-06-08 11:28:20 Re: invalid byte sequence for encoding "UTF8": 0xab