Skip to content

Commit 22a27ef

Browse files
After fast promotion use CHECKPOINT_FORCE
Not necessary for correctness, just to make log_checkpoints output look less singular. Requested by Fujii Masao
1 parent 75a1926 commit 22a27ef

File tree

1 file changed

+1
-1
lines changed
  • src/backend/access/transam

1 file changed

+1
-1
lines changed

src/backend/access/transam/xlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6104,7 +6104,7 @@ StartupXLOG(void)
61046104
* than is appropriate now that we're not in standby mode anymore.
61056105
*/
61066106
if (fast_promoted)
6107-
RequestCheckpoint(0);
6107+
RequestCheckpoint(CHECKPOINT_FORCE);
61086108
}
61096109

61106110
/*

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy