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

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

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Kurt Stam 2010-11-10 15:47:36 BUG #5747: TimeStamps too far into the future are invalid
Previous Message Bruce Momjian 2010-11-10 13:26:41 Re: BUG #5735: pg_upgrade thinks that it did not start the old server