Re: howto upgrade from 8.4 to 9.2 without the remove & install of postgresql - Mailing list pgsql-pkg-debian

From Christoph Berg
Subject Re: howto upgrade from 8.4 to 9.2 without the remove & install of postgresql
Date
Msg-id 20121228120907.GC26096@msgid.df7cb.de
Whole thread Raw
In response to howto upgrade from 8.4 to 9.2 without the remove & install of postgresql  (Michael Wuttke <m.wuttke@elektropost.org>)
List pgsql-pkg-debian
Re: Michael Wuttke 2012-12-23 <50D6BE18.6050103@elektropost.org>
> But the upgrade from the debian pgdg package (postgresql-8.4.15-1.pgdg)
> to the debian pgdg package (postgresql-9.2.2-1.pgdg) unfortunately does
> not work, as I had expected.
>
> I had two postgresql installations, one postgresql 8.4 installation
> listening on port 5432 and one postgresql 9.2 installation listening on
> port 5433. Both postgresql installations could be started and stopped
> with the /etc/intit-script. But the installations on postgresql-8.4 were
> unavailable.

I don't really get the problem description. Do you mean you had 2
installations before doing the change, or just after installing 9.2?

It is expected that installing postgresql-9.2 will create a new
cluster on port 5433 (or generally N+1). If you want your old data to
be migrated, drop the new (empty) cluster, and use pg_upgradecluster
on the 8.4 one.

(Btw, nothing of this is PGDG-specific, it works just like that if you
are upgrading to a new PostgreSQL version in pure Debian.)

Christoph
--
cb@df7cb.de | http://www.df7cb.de/


pgsql-pkg-debian by date:

Previous
From: Christoph Berg
Date:
Subject: Re: "ulimit -n" in postgresql/pgbouncer init scripts.
Next
From: Dimitri Fontaine
Date:
Subject: Re: "ulimit -n" in postgresql/pgbouncer init scripts.