projects
/
users
/
c2main
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f94c6f9
)
Remove bogus semicolons in recoveryPausesHere.
author
Robert Haas
<
[email protected]
>
Fri, 18 Mar 2011 12:09:09 +0000
(08:09 -0400)
committer
Robert Haas
<
[email protected]
>
Fri, 18 Mar 2011 12:09:09 +0000
(08:09 -0400)
Without this, the startup process goes into a tight loop, consuming
100% of one CPU and failing to respond to interrupts.
src/backend/access/transam/xlog.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/transam/xlog.c
b/src/backend/access/transam/xlog.c
index 15af6693f5d7283fa84be618f341c52910842bc7..45ba0013c8a2e21ba5ed645c37a88f022be3ab74 100644
(file)
--- 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