pgsql: pg_prewarm: make autoprewarm leader use standard SIGHUP and SIGT

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: pg_prewarm: make autoprewarm leader use standard SIGHUP and SIGT
Date: 2020-11-06 17:09:28
Message-ID: E1kb5Eu-00047j-M1@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-11-06 17:15:49 pgsql: Doc: undo mistaken adjustment to LOCK TABLE docs in back branche
Previous Message Magnus Hagander 2020-11-06 12:31:46 pgsql: Add pg_strong_random_init function to initialize random number g