pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Call pgwin32_signal_initialize() in postmaster as well.
Date: Thu, 05 Aug 2021 22:36:56 +0000
Message-ID: <E1mBlyy-00015X-Rt@gemulon.postgresql.org> (raw)

Call pgwin32_signal_initialize() in postmaster as well.

This was an oversight in 07bf3785099. While it does reduce the benefit of the
simplification due to that commit, it still seems like a win to me.

It seems like it might be a good idea to have a function mirroring
InitPostmasterChild() / InitStandaloneProcess() for postmaster in miscinit.c
to make it easier to keep initialization between the three possible
environment in sync.

Author: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/20210805214109.lzfk3r3ae37bahmv@alap3.anarazel.de

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/0de13bbc47d19c95de132cc85c341fdab079c170

Modified Files
--------------
src/backend/postmaster/postmaster.c | 7 +++++++
1 file changed, 7 insertions(+)



Message-ID: <E1mBlyy-00015X-Rt@gemulon.postgresql.org>
Permalink:  ../E1mBlyy-00015X-Rt@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1mBlyy-00015X-Rt@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: andres@anarazel.de
  Subject: Re: pgsql: Call pgwin32_signal_initialize() in postmaster as well.
  In-Reply-To: <E1mBlyy-00015X-Rt@gemulon.postgresql.org>
  References: <E1mBlyy-00015X-Rt@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