[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

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 to

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

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

Re: [GENERAL] CentOS initd Script

2012-09-12 Thread Tom Lane
Devrim =?ISO-8859-1?Q?G=DCND=DCZ?= dev...@gunduz.org 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

Re: [GENERAL] CentOS initd Script

2012-09-12 Thread Scott Marlowe
On Wed, Sep 12, 2012 at 12:41 AM, Kenaniah Cerny kenan...@gmail.com 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

Re: [GENERAL] CentOS initd Script

2012-09-12 Thread Scott Marlowe
On Wed, Sep 12, 2012 at 8:54 AM, Scott Marlowe scott.marl...@gmail.com 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

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 9:16 AM, Devrim GUNDUZ dev...@gunduz.org 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:

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, -- Temporarily

Re: [GENERAL] CentOS initd Script

2012-09-12 Thread Scott Marlowe
On Wed, Sep 12, 2012 at 9:59 AM, Devrim GUNDUZ dev...@gunduz.org 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

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

Re: [GENERAL] CentOS initd Script

2012-09-12 Thread Ondrej Ivanič
Hi, On 12 September 2012 16:41, Kenaniah Cerny kenan...@gmail.com 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