From 1330a7d7265577412cae44653a5368172af396c7 Mon Sep 17 00:00:00 2001 From: Robert Haas Date: Wed, 15 Feb 2017 11:03:41 -0500 Subject: [PATCH] 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 --- doc/src/sgml/libpq.sgml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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); + + + CONNECTION_CHECK_WRITABLE + + + Checking if connection is able to handle write transactions. + + + + + + CONNECTION_CONSUME + + + Consuming any remaining response messages on connection. + + + Note that, although these constants will remain (in order to maintain