pg.ddx.io  pgsql-pkg-debian@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Christoph Berg <myon@debian.org>
To: Michael Wuttke <m.wuttke@elektropost.org>
Cc: pgsql-pkg-debian@postgresql.org
Subject: Re: howto upgrade from 8.4 to 9.2 without the remove & install of postgresql
Date: Fri, 28 Dec 2012 13:09:08 +0100
Message-ID: <20121228120907.GC26096@msgid.df7cb.de> (raw)
In-Reply-To: <50D6BE18.6050103@elektropost.org>
References: <50D6BE18.6050103@elektropost.org>
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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/


-- 
Sent via pgsql-pkg-debian mailing list (pgsql-pkg-debian@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-pkg-debian



view thread (4+ messages)  latest in thread

Message-ID: <20121228120907.GC26096@msgid.df7cb.de>
Permalink:  ../20121228120907.GC26096@msgid.df7cb.de/
Also on:    postgresql.org/message-id/20121228120907.GC26096@msgid.df7cb.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-pkg-debian@postgresql.org
  Cc: myon@debian.org, m.wuttke@elektropost.org
  Subject: Re: howto upgrade from 8.4 to 9.2 without the remove & install of postgresql
  In-Reply-To: <20121228120907.GC26096@msgid.df7cb.de>
  References: <50D6BE18.6050103@elektropost.org> <20121228120907.GC26096@msgid.df7cb.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox