Repair error in description of nonblocking usage of PQgetCopyData().
authorTom Lane
Thu, 9 Jun 2005 19:08:28 +0000 (19:08 +0000)
committerTom Lane
Thu, 9 Jun 2005 19:08:28 +0000 (19:08 +0000)
Per Volkan Yazici.

doc/src/sgml/libpq.sgml

index 8430a124298ec07a956e257695d2a0f7922a94b3..adee93a8853ea05505612f93bc915208cf59778b 100644 (file)
@@ -1,5 +1,5 @@
 
 
  
@@ -3230,8 +3230,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.