projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75a1926
)
After fast promotion use CHECKPOINT_FORCE
author
Simon Riggs
<simon@2ndQuadrant.com>
Tue, 21 May 2013 20:27:12 +0000
(21:27 +0100)
committer
Simon Riggs
<simon@2ndQuadrant.com>
Tue, 21 May 2013 20:27:12 +0000
(21:27 +0100)
Not necessary for correctness, just to make
log_checkpoints output look less singular.
Requested by Fujii Masao
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 3950a02667989946e08f50d4c733fa5e69c709f2..76b52fb1dcb0d0f35894ac7b5495c8a674b3d1c2 100644
(file)
--- a/
src/backend/access/transam/xlog.c
+++ b/
src/backend/access/transam/xlog.c
@@
-6104,7
+6104,7
@@
StartupXLOG(void)
* than is appropriate now that we're not in standby mode anymore.
*/
if (fast_promoted)
- RequestCheckpoint(
0
);
+ RequestCheckpoint(
CHECKPOINT_FORCE
);
}
/*