Re: [GENERAL] CentOS initd Script

2012-09-12 Thread Ondrej Ivanič
Hi, On 12 September 2012 16:41, Kenaniah Cerny wrote: > In the service script that gets installed to /etc/rc.d/init.d/, there is a > hard-coded value for PGPORT. Would it be possible to have this variable and > the corresponding -p flag set when calling postgres removed? My init.d script has the

Re: [GENERAL] CentOS initd Script

2012-09-12 Thread Devrim GUNDUZ
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/se

Re: [GENERAL] CentOS initd Script

2012-09-12 Thread Scott Marlowe
On Wed, Sep 12, 2012 at 9:59 AM, Devrim GUNDUZ wrote: > > Hi, > > On Wed, September 12, 2012 6:49 pm, Scott Marlowe wrote: > >> Does RH support > 1 cluster of the same version of postgres yet? >> Looking at the link I can't really tell. Looks like not. > > That link exactly tells you how to do t

Re: [GENERAL] CentOS initd Script

2012-09-12 Thread Devrim GUNDUZ
Hi, On Wed, September 12, 2012 6:49 pm, Scott Marlowe wrote: > Does RH support > 1 cluster of the same version of postgres yet? > Looking at the link I can't really tell. Looks like not. That link exactly tells you how to do that. Running > 1 9.2 clusters in parallel. Regards, -- Temporaril

Re: [GENERAL] CentOS initd Script

2012-09-12 Thread Scott Marlowe
On Wed, Sep 12, 2012 at 9:16 AM, Devrim GUNDUZ wrote: > > Hi, > > On Wed, September 12, 2012 5:54 pm, Scott Marlowe wrote: >> While RHEL is a solid and reliable OS, it was never built to run > 1 >> version etc of pgsql easily. > > I would disagree with this. All you need is this: > > http://svn.pg

Re: [GENERAL] CentOS initd Script

2012-09-12 Thread Devrim GUNDUZ
Hi, On Wed, September 12, 2012 5:54 pm, Scott Marlowe wrote: > While RHEL is a solid and reliable OS, it was never built to run > 1 > version etc of pgsql easily. I would disagree with this. All you need is this: http://svn.pgrpms.org/browser/rpm/redhat/9.2/postgresql/EL-6/README.rpm-dist#L187

Re: [GENERAL] CentOS initd Script

2012-09-12 Thread Scott Marlowe
On Wed, Sep 12, 2012 at 8:54 AM, Scott Marlowe wrote: > Your best bet for running > 1 versions and / or > 1 clusters of the > same version, is to run debian or any debian based distro. You create > a new cluster like so: Just a quick note that back when Centos / RHEL was my main db server OS, I

Re: [GENERAL] CentOS initd Script

2012-09-12 Thread Scott Marlowe
On Wed, Sep 12, 2012 at 12:41 AM, Kenaniah Cerny wrote: > Hi all, > > I would first like to thank everyone involved for all of the hard work that > goes into the postgres and the RPMs.I have a small request: > > In the service script that gets installed to /etc/rc.d/init.d/, there is a > hard-code

Re: [GENERAL] CentOS initd Script

2012-09-12 Thread Tom Lane
Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= writes: > On Tue, 2012-09-11 at 23:41 -0700, Kenaniah Cerny wrote: >> In the service script that gets installed to /etc/rc.d/init.d/, there is a >> hard-coded value for PGPORT. Would it be possible to have this variable and >> the corresponding -p flag set when c

Re: [GENERAL] CentOS initd Script

2012-09-12 Thread Devrim GÜNDÜZ
Hi, On Tue, 2012-09-11 at 23:41 -0700, Kenaniah Cerny wrote: > In the service script that gets installed to /etc/rc.d/init.d/, there is a > hard-coded value for PGPORT. Would it be possible to have this variable and > the corresponding -p flag set when calling postgres removed? > > Explicitly s

Re: [GENERAL] CentOS initd Script

2012-09-12 Thread Devrim GÜNDÜZ
Hi, On Wed, 2012-09-12 at 10:58 +0200, Albe Laurenz wrote: > You should ask the people who roll the RPMs for CentOS, > they are the ones who created that script. It is actually Tom and me who are responsible for those init scripts, CentOS does not roll their own packages. Regards, -- Devrim GÜ

Re: [GENERAL] CentOS initd Script

2012-09-12 Thread Albe Laurenz
Kenaniah Cerny wrote: > I would first like to thank everyone involved for all of the hard work that > goes into the postgres and > the RPMs.I have a small request: > > In the service script that gets installed to /etc/rc.d/init.d/, there is a > hard-coded value for > PGPORT. Would it be possible

[GENERAL] CentOS initd Script

2012-09-12 Thread Kenaniah Cerny
Hi all, I would first like to thank everyone involved for all of the hard work that goes into the postgres and the RPMs.I have a small request: In the service script that gets installed to /etc/rc.d/init.d/, there is a hard-coded value for PGPORT. Would it be possible to have this variable and th