From: Simon Riggs Date: Tue, 21 May 2013 20:27:12 +0000 (+0100) Subject: After fast promotion use CHECKPOINT_FORCE X-Git-Tag: bdr/0.5~1102 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=22a27ef113d50cad73097c0be247f06d6527363c;p=users%2Fandresfreund%2Fpostgres.git After fast promotion use CHECKPOINT_FORCE Not necessary for correctness, just to make log_checkpoints output look less singular. Requested by Fujii Masao --- diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 3950a02667..76b52fb1dc 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); } /*