PQping is only available since PostgreSQL 9.1.