Dave Page <dpage@pgadmin.org> writes:
> On Fri, Sep 24, 2010 at 4:11 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> (Of course, a "pg_ping" utility would be a better answer, but nobody's
>> gotten around to that in more than ten years, so I'm not holding my
>> breath.)
> Hmm, that sounded like it could be my 9.1 mini project - then Google
> showed me that SeanC wrote something already.
> http://archives.postgresql.org/pgsql-patches/2003-07/msg00053.php
Huh, I wonder why we never adopted that? Although I'd be inclined to
do most of the heavy lifting inside libpq, myself, and this is way
more verbose than what pg_ctl wants.
regards, tom lane