We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2635400 commit fcb6780Copy full SHA for fcb6780
src/backend/postmaster/postmaster.c
@@ -777,6 +777,7 @@ UpgradePostgres(void)
777
if (*OnlineUpgradePath == '\0')
778
elog(ERROR, "Online upgrade path was not specified: alter system set online_ugrade_path='...' ; select pg_reload_conf()");
779
780
+ PG_SETMASK(&BlockSig);
781
IsOnlineUpgrade = true;
782
TerminateChildren(SIGTERM);
783
if (CheckpointerPID != 0)
@@ -4341,7 +4342,7 @@ TerminateChildren(int signal)
4341
4342
if (PgArchPID != 0)
4343
signal_child(PgArchPID, signal);
4344
if (PgStatPID != 0)
- signal_child(PgStatPID, signal);
4345
+ signal_child(PgStatPID, IsOnlineUpgrade ? SIGQUIT : signal);
4346
}
4347
4348
/*
0 commit comments