Alvaro Herrera <alvherre(at)commandprompt(dot)com> writes:
> I think the mythical pg_ping utility should be written. It seems the
> easiest way out of the problem.
If pg_ctl were still a shell script there would be some point in that,
but since it's a C program it can certainly do anything a separate
utility would do.
regards, tom lane