pgsql: pg_prewarm: make autoprewarm leader use standard SIGHUP and SIGT - Mailing list pgsql-committers

From Fujii Masao
Subject pgsql: pg_prewarm: make autoprewarm leader use standard SIGHUP and SIGT
Date
Msg-id E1kb5Eu-00047j-M1@gemulon.postgresql.org
Whole thread Raw
List 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(-)


pgsql-committers by date:

Previous
From: Magnus Hagander
Date:
Subject: pgsql: Add pg_strong_random_init function to initialize random number g
Next
From: Tom Lane
Date:
Subject: pgsql: Doc: undo mistaken adjustment to LOCK TABLE docs in back branche