Re: CentOS initd Script - Mailing list pgsql-general

From Devrim GUNDUZ
Subject Re: CentOS initd Script
Date
Msg-id d1f6ad682237b1edefb0744ef2df8113.squirrel@tombalak.org
Whole thread Raw
In response to Re: CentOS initd Script  (Scott Marlowe <scott.marlowe@gmail.com>)
List pgsql-general
Hi,

On Wed, September 12, 2012 7:09 pm, Scott Marlowe wrote:
> Sorry wasn't clear.  I meant does RH support running  > 1 cluster of
> the same version with simple commands from the command line.  Like
> pg_createcluster does.

Well, no. Except running

cp /etc/init.d/postgresql-9.2 /etc/init.d/secondary-9.2 ; service
secondary-9.2 initdb; chkconfig secondary-9.2 on

I can create a small shell script that does it, but I never got a request
for this so far (well, this does not sound like a bad idea, let me see
what I can do tonight)

>  And if you're a beginning DBA / Sysadmin it's one less thing to have
> to hassle with, which is why I recommend debian for newer pg dbas who
> need to build their own machines.

We are going a bit offtopic, but what Debian does is not perfect, either.
Last time I checked was it was picking a random (the next available,
whatever) port when two versions are installed in parallel. Putting conf
files under /etc is also debatable at some point, since it is pretty much
in contrast to PostgreSQL docs -- so a newbie would spend some time to
find the conf files.

See? Life is not that easy on either side. "RHEL is years behind" does not
reflect the reality, IMHO.

Anyway, I'm a big fan of RHEL, so I may be a bit subjective in here :-)

Regards,
--
Temporarily using a webmail program.


pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: CentOS initd Script
Next
From: Herouth Maoz
Date:
Subject: Re: Is there a way to use "pack" in pl/perl without resorting to pl/perlu?