aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/src/sgml/libpq.sgml15
-rw-r--r--src/interfaces/libpq/libpq-fe.h5
2 files changed, 15 insertions, 5 deletions
diff --git a/doc/src/sgml/libpq.sgml b/doc/src/sgml/libpq.sgml
index 1d8998efb2a..a2bbf33d029 100644
--- a/doc/src/sgml/libpq.sgml
+++ b/doc/src/sgml/libpq.sgml
@@ -428,11 +428,11 @@ PostgresPollingStatusType PQconnectPoll(PGconn *conn);
</listitem>
</varlistentry>
- <varlistentry id="libpq-connection-setenv">
- <term><symbol>CONNECTION_SETENV</symbol></term>
+ <varlistentry id="libpq-connection-gss-startup">
+ <term><symbol>CONNECTION_GSS_STARTUP</symbol></term>
<listitem>
<para>
- Negotiating environment-driven parameter settings.
+ Negotiating GSS encryption.
</para>
</listitem>
</varlistentry>
@@ -446,6 +446,15 @@ PostgresPollingStatusType PQconnectPoll(PGconn *conn);
</listitem>
</varlistentry>
+ <varlistentry id="libpq-connection-check-standby">
+ <term><symbol>CONNECTION_CHECK_STANDBY</symbol></term>
+ <listitem>
+ <para>
+ Checking if connection is to a server in standby mode.
+ </para>
+ </listitem>
+ </varlistentry>
+
<varlistentry id="libpq-connection-consume">
<term><symbol>CONNECTION_CONSUME</symbol></term>
<listitem>
diff --git a/src/interfaces/libpq/libpq-fe.h b/src/interfaces/libpq/libpq-fe.h
index defc415fa3f..2c06044a75e 100644
--- a/src/interfaces/libpq/libpq-fe.h
+++ b/src/interfaces/libpq/libpq-fe.h
@@ -73,11 +73,12 @@ typedef enum
* backend startup. */
CONNECTION_SETENV, /* This state is no longer used. */
CONNECTION_SSL_STARTUP, /* Negotiating SSL. */
- CONNECTION_NEEDED, /* Internal state: connect() needed */
+ CONNECTION_NEEDED, /* Internal state: connect() needed. */
CONNECTION_CHECK_WRITABLE, /* Checking if session is read-write. */
CONNECTION_CONSUME, /* Consuming any extra messages. */
CONNECTION_GSS_STARTUP, /* Negotiating GSSAPI. */
- CONNECTION_CHECK_TARGET, /* Checking target server properties. */
+ CONNECTION_CHECK_TARGET, /* Internal state: checking target server
+ * properties. */
CONNECTION_CHECK_STANDBY /* Checking if server is in standby mode. */
} ConnStatusType;