mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
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
This commit is contained in:
parent
1de0a4e00e
commit
1330a7d726
@ -410,6 +410,24 @@ PostgresPollingStatusType PQconnectPoll(PGconn *conn);
|
|||||||
</para>
|
</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry id="libpq-connection-check-writable">
|
||||||
|
<term><symbol>CONNECTION_CHECK_WRITABLE</symbol></term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Checking if connection is able to handle write transactions.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
|
|
||||||
|
<varlistentry id="libpq-connection-consume">
|
||||||
|
<term><symbol>CONNECTION_CONSUME</symbol></term>
|
||||||
|
<listitem>
|
||||||
|
<para>
|
||||||
|
Consuming any remaining response messages on connection.
|
||||||
|
</para>
|
||||||
|
</listitem>
|
||||||
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
|
||||||
Note that, although these constants will remain (in order to maintain
|
Note that, although these constants will remain (in order to maintain
|
||||||
|
Loading…
x
Reference in New Issue
Block a user