Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 777e8c0

Browse files
committed
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.
1 parent f94c6f9 commit 777e8c0

File tree

1 file changed

+2
-2
lines changed
  • src/backend/access/transam

1 file changed

+2
-2
lines changed

src/backend/access/transam/xlog.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -5687,11 +5687,11 @@ recoveryStopsHere(XLogRecord *record, bool *includeThis)
56875687
static void
56885688
recoveryPausesHere(void)
56895689
{
5690-
while (RecoveryIsPaused());
5690+
while (RecoveryIsPaused())
56915691
{
56925692
pg_usleep(1000000L); /* 1000 ms */
56935693
HandleStartupProcInterrupts();
5694-
};
5694+
}
56955695
}
56965696

56975697
static bool

0 commit comments

Comments
 (0)