aboutsummaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2017-02-15 11:03:41 -0500
committerRobert Haas <rhaas@postgresql.org>2017-02-15 11:05:44 -0500
commit1330a7d7265577412cae44653a5368172af396c7 (patch)
tree84f72c8ab9aaf5faaad85b3ba8bfe62b29d1b5c8 /doc/src
parent1de0a4e00eee2a72c0b5b34892092efcec681f81 (diff)
downloadpostgresql-1330a7d7265577412cae44653a5368172af396c7.tar.gz
postgresql-1330a7d7265577412cae44653a5368172af396c7.zip
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
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/libpq.sgml18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml
index ea7e7da9d42..4bc5bf31927 100644
--- a/doc/src/sgml/libpq.sgml
+++ b/doc/src/sgml/libpq.sgml
@@ -410,6 +410,24 @@ PostgresPollingStatusType PQconnectPoll(PGconn *conn);
</para>
</listitem>
</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>
Note that, although these constants will remain (in order to maintain