From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use PostgresSigHupHandler in more places.
Date: Tue, 17 Dec 2019 18:09:00 +0000
Message-ID: <E1ihHHI-0005tg-N4@gemulon.postgresql.org> (raw)
Use PostgresSigHupHandler in more places.
There seems to be no reason for every background process to have
its own flag indicating that a config-file reload is needed.
Instead, let's just use ConfigFilePending for that purpose
everywhere.
Patch by me, reviewed by Andres Freund and Daniel Gustafsson.
Discussion: http://postgr.es/m/CA+TgmoZwDk=BguVDVa+qdA6SBKef=PKbaKDQALTC_9qoz1mJqg@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/1e53fe0e70f610c34f4c9e770d108cd94151342c
Modified Files
--------------
src/backend/postmaster/autovacuum.c | 30 ++++++++----------------------
src/backend/postmaster/bgwriter.c | 20 +++-----------------
src/backend/postmaster/checkpointer.c | 24 +++++-------------------
src/backend/postmaster/pgarch.c | 25 +++++--------------------
src/backend/postmaster/pgstat.c | 28 +++++++---------------------
src/backend/postmaster/walwriter.c | 20 +++-----------------
src/backend/replication/logical/launcher.c | 23 +++--------------------
src/backend/replication/logical/worker.c | 23 +++--------------------
8 files changed, 37 insertions(+), 156 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: rhaas@postgresql.org
Subject: Re: pgsql: Use PostgresSigHupHandler in more places.
In-Reply-To: <E1ihHHI-0005tg-N4@gemulon.postgresql.org>
References: <E1ihHHI-0005tg-N4@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