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

Commit403f4f4

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 parent4c73ec6 commit403f4f4

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
@@ -4934,11 +4934,12 @@ int PQsetnonblocking(PGconn *conn, int arg);
49344934
</para>
49354935

49364936
<para>
4937-
In the nonblocking state, calls to
4937+
In the nonblocking state,successfulcalls to
49384938
<xref linkend="libpq-PQsendQuery"/>, <xref linkend="libpq-PQputline"/>,
49394939
<xref linkend="libpq-PQputnbytes"/>, <xref linkend="libpq-PQputCopyData"/>,
4940-
and <xref linkend="libpq-PQendcopy"/> will not block but instead return
4941-
an error if they need to be called again.
4940+
and <xref linkend="libpq-PQendcopy"/> will not block; their changes
4941+
are stored in the local output buffer until they are flushed.
4942+
Unsuccessful calls will return an error and must be retried.
49424943
</para>
49434944

49444945
<para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp