Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 478201337B6D for ; Tue, 2 Nov 2010 11:38:33 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 41470-03 for ; Tue, 2 Nov 2010 14:38:26 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from smtp.domeneshop.no (smtp.domeneshop.no [194.63.248.54]) by mail.postgresql.org (Postfix) with ESMTP id CC6591337B63 for ; Tue, 2 Nov 2010 11:38:25 -0300 (ADT) Received: from [194.237.103.50] (helo=charliex.local) by smtp.domeneshop.no with esmtpa (Exim 4.72) (envelope-from ) id 1PDI0G-00019p-TJ for pgsql-admin@postgresql.org; Tue, 02 Nov 2010 15:38:25 +0100 Message-ID: <4CD02260.3070508@blogg.se> Date: Tue, 02 Nov 2010 15:38:24 +0100 From: =?UTF-8?B?Um9iZXJ0IEdyYXZzasO2?= User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Re: reinstall postgreSQL same version while server up and running possible under linux ? References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201011/9 X-Sequence-Number: 35975 Re-sending to list since I forgot to include it on reply. On 2010-11-02 13.59, Gerhard Hintermayer wrote: > Sorry for posting this again, but my last post regarding this > problematic wasn't answered satisfyingly. (maybe I didn't find the > right words for my question ;-) ) > > > is this (or a minor upgrade) a "safe" way to go under linux ? I'm on a > production system and I don't want to restart the DB server while the > factory is in production, but be sure that i'm prepared the next time > I'll do a restart. Of course I could wait for a factory shutdown on a > weekend, stop server, upgrade/reinstall and restart, but I'd prefer a You can install multiple versions of PostgreSQL on Gentoo. Portage calls this SLOT[1]. > "on the fly upgrade". Depending on your definition here. You will need to restart your server at some point. The options you have is dump/restore[2] or pg_upgrade[3]. > (this is required due to a changed upstream library dependancy (major > perl upgrade) running gentoo) Not sure what you are saying here. -- Regards, Robert "roppert" Gravsjö 1. http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=1 2. http://www.postgresql.org/docs/9.0/interactive/migration.html 3. http://www.postgresql.org/docs/9.0/interactive/pgupgrade.html