Re: BUG #4875: /etc/init.d/postgresql status shows postmaster is stopped when executed as user - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #4875: /etc/init.d/postgresql status shows postmaster is stopped when executed as user
Date
Msg-id 27896.1246163553@sss.pgh.pa.us
Whole thread Raw
In response to BUG #4875: /etc/init.d/postgresql status shows postmaster is stopped when executed as user  ("Armin Jenewein" <jenewein@googlemail.com>)
Responses Re: BUG #4875: /etc/init.d/postgresql status shows postmaster is stopped when executed as user
List pgsql-bugs
"Armin Jenewein" <jenewein@googlemail.com> writes:
> When i run "/etc/init.d/postgresql status" as a non-root user, it shows
> "postmaster is stopped" while it actually is running. If i run it as root it
> reports correctly.

AFAICS this just depends on "pidof postmaster".  Perhaps you should be
filing a bug against pidof.

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Armin Jenewein"
Date:
Subject: BUG #4875: /etc/init.d/postgresql status shows postmaster is stopped when executed as user
Next
From: "Jonathan Camilleri"
Date:
Subject: BUG #4891: postgresql-8.3-604.jdbc4.jar - failed to load manifest