diff options
author | Simon Riggs <simon@2ndQuadrant.com> | 2013-05-21 21:27:12 +0100 |
---|---|---|
committer | Simon Riggs <simon@2ndQuadrant.com> | 2013-05-21 21:27:12 +0100 |
commit | 22a27ef113d50cad73097c0be247f06d6527363c (patch) | |
tree | 3c0fefebbbf276f602c275654ceac3f7dcbc3a84 /src | |
parent | 75a192638f93636a144a02461baae90b9fe98fd7 (diff) | |
download | postgresql-22a27ef113d50cad73097c0be247f06d6527363c.tar.gz postgresql-22a27ef113d50cad73097c0be247f06d6527363c.zip |
After fast promotion use CHECKPOINT_FORCE
Not necessary for correctness, just to make
log_checkpoints output look less singular.
Requested by Fujii Masao
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/access/transam/xlog.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 3950a026679..76b52fb1dcb 100644 --- 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); } /* |