Remove bogus semicolons in recoveryPausesHere.

Without this, the startup process goes into a tight loop, consuming
100% of one CPU and failing to respond to interrupts.
This commit is contained in:
Robert Haas 2011-03-18 08:09:09 -04:00
parent f94c6f9c0f
commit 777e8c0015

View File

@ -5687,11 +5687,11 @@ recoveryStopsHere(XLogRecord *record, bool *includeThis)
static void
recoveryPausesHere(void)
{
while (RecoveryIsPaused());
while (RecoveryIsPaused())
{
pg_usleep(1000000L); /* 1000 ms */
HandleStartupProcInterrupts();
};
}
}
static bool