aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/transam/xlog.c
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2011-03-18 08:09:09 -0400
committerRobert Haas <rhaas@postgresql.org>2011-03-18 08:09:09 -0400
commit777e8c0015743224cc46f3ce39243b05c6d882ef (patch)
tree83391925eef4a7775bfe6bd52348d75bfd23e617 /src/backend/access/transam/xlog.c
parentf94c6f9c0f05ff70b232e620eb9c420294e90cd3 (diff)
downloadpostgresql-777e8c0015743224cc46f3ce39243b05c6d882ef.tar.gz
postgresql-777e8c0015743224cc46f3ce39243b05c6d882ef.zip
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.
Diffstat (limited to 'src/backend/access/transam/xlog.c')
-rw-r--r--src/backend/access/transam/xlog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c
index 15af6693f5d..45ba0013c8a 100644
--- a/src/backend/access/transam/xlog.c
+++ b/src/backend/access/transam/xlog.c
@@ -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