Skip to content
Snippets Groups Projects
Commit 1330a7d7 authored by Robert Haas's avatar Robert Haas
Browse files

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
parent 1de0a4e0
No related branches found
No related tags found
No related merge requests found
...@@ -410,6 +410,24 @@ PostgresPollingStatusType PQconnectPoll(PGconn *conn); ...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment