Skip to content

Commit 57d6a19

Browse files
committed
doc: correct description of libpq's PQsetnonblocking() mode
Reported-by: Yugo NAGATA Discussion: https://postgr.es/m/20210713115949.702986955f8ccf23fa81073c@sraoss.co.jp Backpatch-through: master
1 parent acc95f2 commit 57d6a19

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

53185318
<para>
5319-
In the nonblocking state, calls to
5319+
In the nonblocking state, successful calls to
53205320
<xref linkend="libpq-PQsendQuery"/>, <xref linkend="libpq-PQputline"/>,
53215321
<xref linkend="libpq-PQputnbytes"/>, <xref linkend="libpq-PQputCopyData"/>,
5322-
and <xref linkend="libpq-PQendcopy"/> will not block but instead return
5323-
an error if they need to be called again.
5322+
and <xref linkend="libpq-PQendcopy"/> will not block; their changes
5323+
are stored in the local output buffer until they are flushed.
5324+
Unsuccessful calls will return an error and must be retried.
53245325
</para>
53255326

53265327
<para>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy