Unbreak postmaster restart-after-crash sequence

In patch 82233ce7ea, AbortStartTime wasn't being reset appropriately
after the restart sequence, causing subsequent iterations through
ServerLoop to malfunction.
pull/6/head
Alvaro Herrera 12 years ago
parent 00a7767fcc
commit 620935ad08
  1. 2
      src/backend/postmaster/postmaster.c

@ -2594,6 +2594,7 @@ reaper(SIGNAL_ARGS)
* Startup succeeded, commence normal operations
*/
FatalError = false;
AbortStartTime = 0;
ReachedNormalRunning = true;
pmState = PM_RUN;
@ -4711,6 +4712,7 @@ sigusr1_handler(SIGNAL_ARGS)
{
/* WAL redo has started. We're out of reinitialization. */
FatalError = false;
AbortStartTime = 0;
/*
* Crank up the background tasks. It doesn't matter if this fails,

Loading…
Cancel
Save