mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-09 08:10:09 +08: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:
parent
f94c6f9c0f
commit
777e8c0015
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user