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

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy