|
1 | 1 | <!--
|
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 $ |
3 | 3 | -->
|
4 | 4 |
|
5 | 5 | <chapter id="libpq">
|
@@ -3230,8 +3230,8 @@ A result of -2 indicates that an error occurred (consult
|
3230 | 3230 | When <parameter>async</> is true (not zero), <function>PQgetCopyData</>
|
3231 | 3231 | will not block waiting for input; it will return zero if the <command>COPY</command> is still
|
3232 | 3232 | in progress but no complete row is available. (In this case wait for
|
3233 |
| -read-readybefore trying again; it does not matter whether you call |
3234 |
| -<function>PQconsumeInput</>.) When <parameter>async</> is |
| 3233 | +read-readyand then call <function>PQconsumeInput</> before calling |
| 3234 | +<function>PQgetCopyData</> again.) When <parameter>async</> is |
3235 | 3235 | false (zero), <function>PQgetCopyData</> will block until data is available
|
3236 | 3236 | or the operation completes.
|
3237 | 3237 | </para>
|
|