Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1ToYkV-00071g-Cu for pgsql-pkg-debian@arkaria.postgresql.org; Fri, 28 Dec 2012 12:09:15 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1ToYkU-0001FF-H9 for pgsql-pkg-debian@arkaria.postgresql.org; Fri, 28 Dec 2012 12:09:14 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1ToYkT-0001Ec-M2 for pgsql-pkg-debian@postgresql.org; Fri, 28 Dec 2012 12:09:13 +0000 Received: from cl-2390.ham-01.de.sixxs.net ([2001:6f8:900:955::2] helo=feynman.df7cb.de) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1ToYkR-00017K-Bb for pgsql-pkg-debian@postgresql.org; Fri, 28 Dec 2012 12:09:13 +0000 Received: from msgid.df7cb.de (lehmann.df7cb.de [IPv6:2001:6f8:10ee:e:136::2]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client did not present a certificate) by feynman.df7cb.de (Postfix) with ESMTPSA id 46864696B6; Fri, 28 Dec 2012 13:09:10 +0100 (CET) Date: Fri, 28 Dec 2012 13:09:08 +0100 From: Christoph Berg To: Michael Wuttke Cc: pgsql-pkg-debian@postgresql.org Subject: Re: howto upgrade from 8.4 to 9.2 without the remove & install of postgresql Message-ID: <20121228120907.GC26096@msgid.df7cb.de> Mail-Followup-To: Christoph Berg , Michael Wuttke , pgsql-pkg-debian@postgresql.org References: <50D6BE18.6050103@elektropost.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <50D6BE18.6050103@elektropost.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -1.9 (-) X-Mailing-List: pgsql-pkg-debian List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Precedence: bulk Sender: pgsql-pkg-debian-owner@postgresql.org 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