Skip to content

Commit 0de13bb

Browse files
committed
Call pgwin32_signal_initialize() in postmaster as well.
This was an oversight in 07bf378. 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
1 parent 07bf378 commit 0de13bb

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/backend/postmaster/postmaster.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,13 @@ PostmasterMain(int argc, char *argv[])
593593

594594
IsPostmasterEnvironment = true;
595595

596+
/*
597+
* Start our win32 signal implementation
598+
*/
599+
#ifdef WIN32
600+
pgwin32_signal_initialize();
601+
#endif
602+
596603
/*
597604
* We should not be creating any files or directories before we check the
598605
* data directory (see checkDataDir()), but just in case set the umask to

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy