From: Tom Lane Date: Thu, 9 Jun 2005 19:08:47 +0000 (+0000) Subject: Repair error in description of nonblocking usage of PQgetCopyData(). X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=16ecafb0152bc216a8e16a2eefccb1df7ae51c89;p=users%2Fbernd%2Fpostgres.git Repair error in description of nonblocking usage of PQgetCopyData(). Per Volkan Yazici. --- diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml index c478087b40..cf3e74fe04 100644 --- a/doc/src/sgml/libpq.sgml +++ b/doc/src/sgml/libpq.sgml @@ -2917,8 +2917,8 @@ A result of -2 indicates that an error occurred (consult When async is true (not zero), PQgetCopyData will not block waiting for input; it will return zero if the COPY is still in progress but no complete row is available. (In this case wait for -read-ready before trying again; it does not matter whether you call -PQconsumeInput.) When async is +read-ready and then call PQconsumeInput before calling +PQgetCopyData again.) When async is false (zero), PQgetCopyData will block until data is available or the operation completes.