Re: Giving up multiple postmaster + RPM issue

From: Paul Lindner <lindner(at)inuus(dot)com>
To: Devrim GUNDUZ <devrim(at)CommandPrompt(dot)com>
Cc: "pgsqlrpms-hackers(at)pgfoundry(dot)org" <pgsqlrpms-hackers(at)pgfoundry(dot)org>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Giving up multiple postmaster + RPM issue
Date: 2006-11-12 09:27:26
Message-ID: 20061112092726.GI14329@inuus.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)inuus(dot)com

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-11-12 13:37:38 Re: Giving up multiple postmaster + RPM issue
Previous Message Tom Lane 2006-11-12 04:28:50 Re: [PATCHES] BUG #2704: pg_class.relchecks overflow problem