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:
@ -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
|
||||
|
Reference in New Issue
Block a user