First pass at solving the ping/pg_ping problem. RT #100648