pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Add missing connection statuses to docs
Date: Mon, 11 Mar 2024 16:28:11 +0000
Message-ID: <E1rjiVX-003GhP-IE@gemulon.postgresql.org> (raw)

Add missing connection statuses to docs

The list of connection statuses that PQstatus might return during an
asynchronous connection attempt was outdated:

1. CONNECTION_SETENV is never returned anymore and is only part of the
   enum for backwards compatibility, so remove it from the docs.
2. CONNECTION_CHECK_STANDBY and CONNECTION_GSS_STARTUP were not listed,
   so add them.

CONNECTION_NEEDED and CONNECTION_CHECK_TARGET are not listed in the docs
on purpose, since these are internal states that can never be observed
by a caller of PQstatus.

Author: Jelte Fennema-Nio <postgres@jeltef.nl>
Discussion: https://postgr.es/m/CAGECzQRb21spiiykQ48rzz8w+Hcykz+mB2_hxR65D9Qk6nnw=w@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/095493a3771a99d0e4c906ad1cc33791efaa7248

Modified Files
--------------
doc/src/sgml/libpq.sgml         | 15 ++++++++++++---
src/interfaces/libpq/libpq-fe.h |  5 +++--
2 files changed, 15 insertions(+), 5 deletions(-)



view thread (2+ messages)

Message-ID: <E1rjiVX-003GhP-IE@gemulon.postgresql.org>
Permalink:  ../E1rjiVX-003GhP-IE@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rjiVX-003GhP-IE@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: alvherre@alvh.no-ip.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Add missing connection statuses to docs
  In-Reply-To: <E1rjiVX-003GhP-IE@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox