Check if PQconnectStart returned a non-NULL result.