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

Commitb64926f

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 parent5a6937e commitb64926f

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

49434943
<para>
4944-
In the nonblocking state, calls to
4944+
In the nonblocking state,successfulcalls to
49454945
<function>PQsendQuery</function>, <function>PQputline</function>,
49464946
<function>PQputnbytes</function>, <function>PQputCopyData</function>,
4947-
and <function>PQendcopy</function> will not block but instead return
4948-
an error if they need to be called again.
4947+
and <function>PQendcopy</function> will not block; their changes
4948+
are stored in the local output buffer until they are flushed.
4949+
Unsuccessful calls will return an error and must be retried.
49494950
</para>
49504951

49514952
<para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp