Re: BUG #7596: Problem with /etc/init.d/postgresql.9.x file

From: Devrim GÜNDÜZ <devrim(at)gunduz(dot)org>
To: david(dot)peyrieres(at)meteo(dot)fr
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #7596: Problem with /etc/init.d/postgresql.9.x file
Date: 2013-05-03 19:32:26
Message-ID: 1367609546.25627.12.camel@lenovo01-laptop03.gunduz.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


Hi,

For the archives: We fixed this problem in newer init scripts.

Regards, Devrim

On Thu, 2012-10-11 at 09:29 +0000, david(dot)peyrieres(at)meteo(dot)fr wrote:
> The following bug has been logged on the website:
>
> Bug reference: 7596
> Logged by: David PEYRIERES
> Email address: david(dot)peyrieres(at)meteo(dot)fr
> PostgreSQL version: 9.1.4
> Operating system: Red Hat
> Description:
>
> Hello.
> I found a little bug in /etc/init.d/postgresql-9.x file (ok in 8.4 - since
> 9.x versions ?).
> In my case, I've 5 databases on same server. Each database is start/stop
> with this file 'service postgresql9.x start'.
> Unfortunately, it uses only same file for status "pidfile:
> /var/run/postmaster-9.2.pid".
> In my case and with this configuration, I have only one file for all
> databases.
> So, I've modified this file on all servers :
>
> 1 - pidfile="/var/run/${NAME}.pid
>
> 2 - and case test :
> ....
> case "$1" in
> ....
> status)
> status -p /var/run/postmaster-9.1.pid
> by
> status -p $pidfile
>
>
>
> Thanks for all.
>
>
>
>
>
>

--
Devrim GÜNDÜZ
Principal Systems Engineer @ EnterpriseDB: http://www.enterprisedb.com
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Jinu K J 2013-05-04 19:45:09 initdb fail to execute
Previous Message Thomas Kellerer 2013-05-02 16:07:22 Re: BUG #8132: Not Null column should set default value when inserting or setting null