Alvaro Herrera <[EMAIL PROTECTED]> writes:
> Tom Lane wrote:
>> Alvaro Herrera <[EMAIL PROTECTED]> 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.

> Well, pg_ctl would not be the only user of such an utility.  Things like
> (say) control panels for shared hosting could benefit from it as well.
> As would system health monitors.

I still see no point in creating a separate binary for the
functionality.  If you want to make it available to shell scripts,
invent a "pg_ctl ping" subcommand.

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Reply via email to