than PQconnectdb. Reimplement the former to use the same code as the latter. Fix documentation omissions while at it.