BUG #5746: /etc/init.d/postgresql-9.0 status returns the wrong value - Mailing list pgsql-bugs

From Jeff Mace
Subject BUG #5746: /etc/init.d/postgresql-9.0 status returns the wrong value
Date
Msg-id 201011101513.oAAFD1WA094162@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #5746: /etc/init.d/postgresql-9.0 status returns the wrong value
List pgsql-bugs
The following bug has been logged online:

Bug reference:      5746
Logged by:          Jeff Mace
Email address:      jeff.mace@continuent.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}.

pgsql-bugs by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: BUG #5735: pg_upgrade thinks that it did not start the old server
Next
From: Mike Fowler
Date:
Subject: Re: BUG #5745: geometry bug?