Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0de13bb

Browse files
committed
Call pgwin32_signal_initialize() in postmaster as well.
This was an oversight in07bf378. While it does reduce the benefit of thesimplification 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 mirroringInitPostmasterChild() / InitStandaloneProcess() for postmaster in miscinit.cto make it easier to keep initialization between the three possibleenvironment in sync.Author: Andres Freund <andres@anarazel.de>Discussion:https://postgr.es/m/20210805214109.lzfk3r3ae37bahmv@alap3.anarazel.de
1 parent07bf378 commit0de13bb

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+
#ifdefWIN32
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)

[8]ページ先頭

©2009-2025 Movatter.jp