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

Поиск
Список
Период
Сортировка
От Robert Gravsjö
Тема Re: reinstall postgreSQL same version while server up and running possible under linux ?
Дата
Msg-id 4CD02260.3070508@blogg.se
обсуждение исходный текст
Ответ на reinstall postgreSQL same version while server up and running possible under linux ?  (Gerhard Hintermayer <gerhard.hintermayer@gmail.com>)
Список 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

В списке pgsql-admin по дате отправления:

Предыдущее
От: Gerhard Hintermayer
Дата:
Сообщение: reinstall postgreSQL same version while server up and running possible under linux ?
Следующее
От: Vladimir Rusinov
Дата:
Сообщение: Re: reinstall postgreSQL same version while server up and running possible under linux ?