mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-02-23 19:39:53 +08:00
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
This commit is contained in:
parent
acc95f29ef
commit
57d6a198c9
@ -5316,11 +5316,12 @@ int PQsetnonblocking(PGconn *conn, int arg);
|
||||
</para>
|
||||
|
||||
<para>
|
||||
In the nonblocking state, calls to
|
||||
In the nonblocking state, successful calls to
|
||||
<xref linkend="libpq-PQsendQuery"/>, <xref linkend="libpq-PQputline"/>,
|
||||
<xref linkend="libpq-PQputnbytes"/>, <xref linkend="libpq-PQputCopyData"/>,
|
||||
and <xref linkend="libpq-PQendcopy"/> will not block but instead return
|
||||
an error if they need to be called again.
|
||||
and <xref linkend="libpq-PQendcopy"/> 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.
|
||||
</para>
|
||||
|
||||
<para>
|
||||
|
Loading…
Reference in New Issue
Block a user