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

Commit620935a

Browse files
committed
Unbreak postmaster restart-after-crash sequence
In patch82233ce, AbortStartTime wasn't being reset appropriatelyafter the restart sequence, causing subsequent iterations throughServerLoop to malfunction.
1 parent00a7767 commit620935a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎src/backend/postmaster/postmaster.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2594,6 +2594,7 @@ reaper(SIGNAL_ARGS)
25942594
* Startup succeeded, commence normal operations
25952595
*/
25962596
FatalError= false;
2597+
AbortStartTime=0;
25972598
ReachedNormalRunning= true;
25982599
pmState=PM_RUN;
25992600

@@ -4711,6 +4712,7 @@ sigusr1_handler(SIGNAL_ARGS)
47114712
{
47124713
/* WAL redo has started. We're out of reinitialization. */
47134714
FatalError= false;
4715+
AbortStartTime=0;
47144716

47154717
/*
47164718
* Crank up the background tasks. It doesn't matter if this fails,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp