Lists: | pgsql-bugs |
---|
From: | "Jeff Mace" <jeff(dot)mace(at)continuent(dot)com> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | BUG #5746: /etc/init.d/postgresql-9.0 status returns the wrong value |
Date: | 2010-11-10 15:13:01 |
Message-ID: | 201011101513.oAAFD1WA094162@wwwmaster.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs |
The following bug has been logged online:
Bug reference: 5746
Logged by: Jeff Mace
Email address: jeff(dot)mace(at)continuent(dot)com
PostgreSQL version: 9.0.1
Operating system: CentOS
Description: /etc/init.d/postgresql-9.0 status returns the wrong
value
Details:
The following code change is required in the script to check for the proper
file.
status -p /var/run/postmaster-9.0.${PGPORT}pid
should be
status -p /var/run/postmaster-9.0.${PGPORT}.pid
A '.' is needed after ${PGPORT}.
From: | Devrim GÜNDÜZ <devrim(at)gunduz(dot)org> |
---|---|
To: | Jeff Mace <jeff(dot)mace(at)continuent(dot)com> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: BUG #5746: /etc/init.d/postgresql-9.0 status returns the wrong value |
Date: | 2010-11-11 02:05:22 |
Message-ID: | 1289441122.3631.0.camel@hp-laptop02.gunduz.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-bugs |
On Wed, 2010-11-10 at 15:13 +0000, Jeff Mace wrote:
> The following code change is required in the script to check for the
> proper file.
>
> status -p /var/run/postmaster-9.0.${PGPORT}pid
>
> should be
>
> status -p /var/run/postmaster-9.0.${PGPORT}.pid
>
> A '.' is needed after ${PGPORT}.
Thanks for the report. I fixed it in SVN. I'll push updated packages
soon.
Regards,
--
Devrim GÜNDÜZ
PostgreSQL Danışmanı/Consultant, Red Hat Certified Engineer
PostgreSQL RPM Repository: http://yum.pgrpms.org
Community: devrim~PostgreSQL.org, devrim.gunduz~linux.org.tr
http://www.gunduz.org Twitter: http://twitter.com/devrimgunduz