Skip to content

Commit 1330a7d

Browse files
committed
Document new libpq connection statuses for target_session_attrs.
I didn't realize these would ever be visible to clients, but Michael figured out that it can happen when using asynchronous interfaces such as PQconnectPoll. Michael Paquier
1 parent 1de0a4e commit 1330a7d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

doc/src/sgml/libpq.sgml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,24 @@ PostgresPollingStatusType PQconnectPoll(PGconn *conn);
410410
</para>
411411
</listitem>
412412
</varlistentry>
413+
414+
<varlistentry id="libpq-connection-check-writable">
415+
<term><symbol>CONNECTION_CHECK_WRITABLE</symbol></term>
416+
<listitem>
417+
<para>
418+
Checking if connection is able to handle write transactions.
419+
</para>
420+
</listitem>
421+
</varlistentry>
422+
423+
<varlistentry id="libpq-connection-consume">
424+
<term><symbol>CONNECTION_CONSUME</symbol></term>
425+
<listitem>
426+
<para>
427+
Consuming any remaining response messages on connection.
428+
</para>
429+
</listitem>
430+
</varlistentry>
413431
</variablelist>
414432

415433
Note that, although these constants will remain (in order to maintain

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