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

Commit66d9a4a

Browse files
committed
doc: correct description of libpq's PQsetnonblocking() mode
Reported-by: Yugo NAGATADiscussion:https://postgr.es/m/20210713115949.702986955f8ccf23fa81073c@sraoss.co.jpBackpatch-through: 12-16, master already done
1 parentc859d68 commit66d9a4a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

‎doc/src/sgml/libpq.sgml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4790,11 +4790,12 @@ int PQsetnonblocking(PGconn *conn, int arg);
47904790
</para>
47914791

47924792
<para>
4793-
In the nonblocking state, calls to
4793+
In the nonblocking state,successfulcalls to
47944794
<xref linkend="libpq-PQsendQuery"/>, <xref linkend="libpq-PQputline"/>,
47954795
<xref linkend="libpq-PQputnbytes"/>, <xref linkend="libpq-PQputCopyData"/>,
4796-
and <xref linkend="libpq-PQendcopy"/> will not block but instead return
4797-
an error if they need to be called again.
4796+
and <xref linkend="libpq-PQendcopy"/> will not block; their changes
4797+
are stored in the local output buffer until they are flushed.
4798+
Unsuccessful calls will return an error and must be retried.
47984799
</para>
47994800

48004801
<para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp