pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fujii Masao <fujii@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: pg_prewarm: make autoprewarm leader use standard SIGHUP and SIGT
Date: Fri, 06 Nov 2020 17:09:28 +0000
Message-ID: <E1kb5Eu-00047j-M1@gemulon.postgresql.org> (raw)

pg_prewarm: make autoprewarm leader use standard SIGHUP and SIGTERM handlers.

Commit 1e53fe0e70 changed background processes so that they use
standard SIGHUP handler. Like that, this commit makes autoprewarm leader
process also use standard SIGHUP and SIGTERM handlers, to simplify the code.

Author: Bharath Rupireddy
Reviewed-by: Kyotaro Horiguchi, Fujii Masao
Discussion: https://postgr.es/m/CALj2ACXPorUqePswDtOeM_s82v9RW32E1fYmOPZ5NuE+TWKj_A@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/53f614f1302d56e5fbb98826c7eee3c715411184

Modified Files
--------------
contrib/pg_prewarm/autoprewarm.c | 55 +++++++---------------------------------
1 file changed, 9 insertions(+), 46 deletions(-)



Message-ID: <E1kb5Eu-00047j-M1@gemulon.postgresql.org>
Permalink:  ../E1kb5Eu-00047j-M1@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1kb5Eu-00047j-M1@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 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: fujii@postgresql.org
  Subject: Re: pgsql: pg_prewarm: make autoprewarm leader use standard SIGHUP and SIGT
  In-Reply-To: <E1kb5Eu-00047j-M1@gemulon.postgresql.org>
  References: <E1kb5Eu-00047j-M1@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