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: Get rid of the dedicated latch for signaling the startup process
Date: Wed, 04 Nov 2020 07:44:11 +0000
Message-ID: <E1kaDSl-0001GJ-05@gemulon.postgresql.org> (raw)

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ac22929a2613e122708bd0172508ac863c51c1cc

Modified Files
--------------
src/backend/access/transam/xlog.c | 29 ++++++++++++++---------------
src/backend/postmaster/startup.c  | 24 +++++-------------------
2 files changed, 19 insertions(+), 34 deletions(-)



view thread (9+ messages)  latest in thread

Message-ID: <E1kaDSl-0001GJ-05@gemulon.postgresql.org>
Permalink:  ../E1kaDSl-0001GJ-05@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1kaDSl-0001GJ-05@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: Get rid of the dedicated latch for signaling the startup process
  In-Reply-To: <E1kaDSl-0001GJ-05@gemulon.postgresql.org>
  References: <E1kaDSl-0001GJ-05@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