Re: reinstall postgreSQL same version while server up and running possible under linux ?

From: Robert Gravsjö <robert(at)blogg(dot)se>
To: pgsql-admin(at)postgresql(dot)org
Subject: Re: reinstall postgreSQL same version while server up and running possible under linux ?
Date: 2010-11-02 14:38:24
Message-ID: 4CD02260.3070508@blogg.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Gerhard Hintermayer 2010-11-02 15:26:54 Re: reinstall postgreSQL same version while server up and running possible under linux ?
Previous Message Vladimir Rusinov 2010-11-02 13:38:44 Re: reinstall postgreSQL same version while server up and running possible under linux ?