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

Commit3bbcc5c

Browse files
Make startup process respond to signals to cancel waiting on latch.
A tidy up for recently committed changes to startup latch.Fujii Masao
1 parent45cd919 commit3bbcc5c

File tree

1 file changed

+2
-0
lines changed
  • src/backend/access/transam

1 file changed

+2
-0
lines changed

‎src/backend/access/transam/xlog.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9174,6 +9174,7 @@ static void
91749174
StartupProcSigHupHandler(SIGNAL_ARGS)
91759175
{
91769176
got_SIGHUP= true;
9177+
WakeupRecovery();
91779178
}
91789179

91799180
/* SIGTERM: set flag to abort redo and exit */
@@ -9184,6 +9185,7 @@ StartupProcShutdownHandler(SIGNAL_ARGS)
91849185
proc_exit(1);
91859186
else
91869187
shutdown_requested= true;
9188+
WakeupRecovery();
91879189
}
91889190

91899191
/* Handle SIGHUP and SIGTERM signals of startup process */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp