Get rid of the dedicated latch for signaling the startup process.
authorFujii Masao <fujii@postgresql.org>
Wed, 4 Nov 2020 07:41:29 +0000 (16:41 +0900)
committerFujii Masao <fujii@postgresql.org>
Wed, 4 Nov 2020 07:43:43 +0000 (16:43 +0900)
commitac22929a2613e122708bd0172508ac863c51c1cc
tree9d15789d11e68675c9c61488fb87b79a8dfffa90
parent02d332297f9bfe63476d53a439cc8f3b05bb5e67
Get rid of the dedicated latch for signaling the startup process.

This commit gets rid of the dedicated latch for signaling the startup
process in favor of using its procLatch,  since that comports better
with possible generic signal handlers using that latch.

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

Author: Fujii Masao
Reviewed-by: Bharath Rupireddy, Michael Paquier
Discussion: https://postgr.es/m/CALj2ACXPorUqePswDtOeM_s82v9RW32E1fYmOPZ5NuE+TWKj_A@mail.gmail.com
src/backend/access/transam/xlog.c
src/backend/postmaster/startup.c