doc: correct description of libpq's PQsetnonblocking() mode
authorBruce Momjian
Mon, 13 Nov 2023 18:01:08 +0000 (13:01 -0500)
committerBruce Momjian
Mon, 13 Nov 2023 18:01:08 +0000 (13:01 -0500)
Reported-by: Yugo NAGATA
Discussion: https://postgr.es/m/20210713115949.702986955f8ccf23fa81073c@sraoss.co.jp

Backpatch-through: master

doc/src/sgml/libpq.sgml

index 64b2910feefdfcb078c21b4ec00006832b8ca8a7..ed88ac001a17e4970ff7142edf24e33ae5c53e4f 100644 (file)
@@ -5316,11 +5316,12 @@ int PQsetnonblocking(PGconn *conn, int arg);
       
 
       
-       In the nonblocking state, calls to
+       In the nonblocking state, successful calls to
        ,
        ,
-       and  will not block but instead return
-       an error if they need to be called again.
+       and  will not block;  their changes
+       are stored in the local output buffer until they are flushed.
+       Unsuccessful calls will return an error and must be retried.