1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-16 06:01:02 +03:00

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 static void
recoveryPausesHere(void) recoveryPausesHere(void)
{ {
while (RecoveryIsPaused()); while (RecoveryIsPaused())
{ {
pg_usleep(1000000L); /* 1000 ms */ pg_usleep(1000000L); /* 1000 ms */
HandleStartupProcInterrupts(); HandleStartupProcInterrupts();
}; }
} }
static bool static bool