Re: BUG #5746: /etc/init.d/postgresql-9.0 status returns the wrong value

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
Thread:
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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Yeb Havinga 2010-11-11 14:30:31 BUG #5748: Invalid oidvector data during binary recv
Previous Message Jeff Davis 2010-11-11 00:20:09 Re: Recovery bug