Re: Giving up multiple postmaster + RPM issue

Поиск
Список
Период
Сортировка
От Paul Lindner
Тема Re: Giving up multiple postmaster + RPM issue
Дата
Msg-id 20061112092726.GI14329@inuus.com
обсуждение исходный текст
Ответ на Giving up multiple postmaster + RPM issue  (Devrim GUNDUZ <devrim@CommandPrompt.com>)
Ответы Re: Giving up multiple postmaster + RPM issue  (Martijn van Oosterhout <kleptog@svana.org>)
Re: Giving up multiple postmaster + RPM issue  (Devrim GUNDUZ <devrim@CommandPrompt.com>)
Список pgsql-hackers
On Sat, Nov 11, 2006 at 05:56:03PM +0200, Devrim GUNDUZ wrote:
>
> Hello,
>
> As some of you already know, I have been working on multiple postmaster
> + RPM issue for some time. We are approaching 8.2.0, and I still could
> not complete this.
>
> Also, I'm having problems with my eyes which prevents me working (for
> long hours) (Vision Fatigue); so I want to give up this issue at least
> for now.
>
> I will create a new branch for this; and use the old spec file format
> for 8.2.
>
> Here is the spec file that I plan to use for 8.2:
>
>
http://cvs.pgfoundry.org/cgi-bin/cvsweb.cgi/pgsqlrpms/specs/8.2/postgresql-8.2.spec?rev=1.8&content-type=text/x-cvsweb-markup
>
> Revisions greater then 1.8 are prototypes for multiple postmaster issue,
> so should not be used for 8.2 final.
>
> I *hope* to release 8.2 SRPM next week so that people will test it.

I tried to implement the same type of thing with other RPM packages.
Having multiple versioned RPMs installed is not so easy.  Most of the
tools like yum assume you want to upgrade, not install new versions
thus you get lots of problems.  (You can designate packages
install-only in yum.conf, but then you have to be sure that everything
works...)

My solution was to create RPMs with the version number embedded in the
name.  Thus for 7.4.13 and 8.1.5 I have:
 postgres7.4-13-1_fc6.x86_64.rpm postgres8.1-5-1_fc6.x86_64.rpm

Everything goes into /usr/local/pg7.4 and /usr/local/pg8.1, init
scripts are /etc/init.d/postgres8.1, /etc/init.d/postgres7.4

That combined with some 'alternatives' magic makes things work well
for the hosts at my current job.

spec file(s) available on request...

--
Paul Lindner        ||||| | | | |  |  |  |   |   |
lindner@inuus.com

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] [BUGS] BUG #2704: pg_class.relchecks overflow problem
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Giving up multiple postmaster + RPM issue