Skip to content

Commit 0b8e46e

Browse files
committed
Repair error in description of nonblocking usage of PQgetCopyData().
Per Volkan Yazici.
1 parent 532ca30 commit 0b8e46e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/src/sgml/libpq.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.182 2005/06/04 20:42:41 momjian Exp $
2+
$PostgreSQL: pgsql/doc/src/sgml/libpq.sgml,v 1.183 2005/06/09 19:08:28 tgl Exp $
33
-->
44

55
<chapter id="libpq">
@@ -3230,8 +3230,8 @@ A result of -2 indicates that an error occurred (consult
32303230
When <parameter>async</> is true (not zero), <function>PQgetCopyData</>
32313231
will not block waiting for input; it will return zero if the <command>COPY</command> is still
32323232
in progress but no complete row is available. (In this case wait for
3233-
read-ready before trying again; it does not matter whether you call
3234-
<function>PQconsumeInput</>.) When <parameter>async</> is
3233+
read-ready and then call <function>PQconsumeInput</> before calling
3234+
<function>PQgetCopyData</> again.) When <parameter>async</> is
32353235
false (zero), <function>PQgetCopyData</> will block until data is available
32363236
or the operation completes.
32373237
</para>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy