pgsql: Call pgwin32_signal_initialize() in postmaster as well.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Call pgwin32_signal_initialize() in postmaster as well.
Date: 2021-08-05 22:36:56
Message-ID: E1mBlyy-00015X-Rt@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)anarazel(dot)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(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2021-08-05 23:10:22 pgsql: Doc: remove commit 2945a488a from v14 release notes.
Previous Message Andres Freund 2021-08-05 21:41:09 Re: pgsql: process startup: Centralize pgwin32_signal_initialize() calls.