Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0b8e46e

Browse files
committed
Repair error in description of nonblocking usage of PQgetCopyData().
Per Volkan Yazici.
1 parent532ca30 commit0b8e46e

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-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
32353235
false (zero), <function>PQgetCopyData</> will block until data is available
32363236
or the operation completes.
32373237
</para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp