PQPing is a blocking operation.
It doesn't seem possible to reimplement using libpq:
PQPing works by creating a temporary conenction object, calling internal_ping and then closing it. internal_ping uses internal connection fields such as auth_req_received.
PQPingis a blocking operation.It doesn't seem possible to reimplement using libpq:
PQPingworks by creating a temporary conenction object, callinginternal_pingand then closing it.internal_pinguses internal connection fields such asauth_req_received.