Content-Length: 283334 | pFad | http://github.com/postgrespro/postgres/commit/1330a7d7265577412cae44653a5368172af396c7

9C Document new libpq connection statuses for target_session_attrs. · postgrespro/postgres@1330a7d · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/1330a7d7265577412cae44653a5368172af396c7

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy