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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Armin Jenewein" <jenewein(at)googlemail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4875: /etc/init.d/postgresql status shows postmaster is stopped when executed as user
Date: 2009-06-28 04:32:33
Message-ID: 27896.1246163553@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Armin Jenewein" <jenewein(at)googlemail(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Jonathan Camilleri 2009-06-28 12:37:37 BUG #4891: postgresql-8.3-604.jdbc4.jar - failed to load manifest
Previous Message saint 2009-06-27 19:20:21 BUG #4890: Allow insert character has no equivalent in "LATIN2"