From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Introduce a new GUC_REPORT setting "in_hot_standby".
Date: Tue, 05 Jan 2021 21:18:18 +0000
Message-ID: <E1kwtic-000357-NR@gemulon.postgresql.org> (raw)
Introduce a new GUC_REPORT setting "in_hot_standby".
Aside from being queriable via SHOW, this value is sent to the client
immediately at session startup, and again later on if the server gets
promoted to primary during the session. The immediate report will be
used in an upcoming patch to avoid an extra round trip when trying to
connect to a primary server.
Haribabu Kommi, Greg Nancarrow, Tom Lane; reviewed at various times
by Laurenz Albe, Takayuki Tsunakawa, Peter Smith.
Discussion: https://postgr.es/m/CAF3+xM+8-ztOkaV9gHiJ3wfgENTq97QcjXQt+rbFQ6F7oNzt9A@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/bf8a662c9afad6fd07b42cdc5e71416c51f75d31
Modified Files
--------------
doc/src/sgml/config.sgml | 31 ++++++++++++++++++-----
doc/src/sgml/high-availability.sgml | 7 ++++--
doc/src/sgml/libpq.sgml | 6 ++++-
doc/src/sgml/protocol.sgml | 6 ++++-
src/backend/utils/misc/check_guc | 2 +-
src/backend/utils/misc/guc.c | 50 +++++++++++++++++++++++++++++++++++++
6 files changed, 91 insertions(+), 11 deletions(-)
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: tgl@sss.pgh.pa.us
Subject: Re: pgsql: Introduce a new GUC_REPORT setting "in_hot_standby".
In-Reply-To: <E1kwtic-000357-NR@gemulon.postgresql.org>
References: <E1kwtic-000357-NR@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