*** a/doc/src/sgml/libpq.sgml --- b/doc/src/sgml/libpq.sgml *************** *** 3827,3832 **** PGresult *PQgetResult(PGconn *conn); --- 3827,3841 ---- active and the necessary response data has not yet been read by PQconsumeInput. + + + + Even when PQresultStatus indicates a fatal + error, PQgetResult must be called until it + returns a null pointer. This allows libpq to + process the error information completely. + +