"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