diff --git a/src/backend/postmaster/checkpointer.c b/src/backend/postmaster/checkpointer.c
index 4b452e7cee..c446e81299 100644
--- a/src/backend/postmaster/checkpointer.c
+++ b/src/backend/postmaster/checkpointer.c
@@ -197,6 +197,13 @@ CheckpointerMain(void)
 
 	CheckpointerShmem->checkpointer_pid = MyProcPid;
 
+	/*
+	 * We need to call InitXLOGAccess(), if the system isn't in hot-standby
+	 * mode.  This is handled by calling RecoveryInProgress and ignoring the
+	 * result. This needs to be done before SIGHUP handler is set up.
+	 */
+	(void) RecoveryInProgress();
+
 	/*
 	 * Properly accept or ignore signals the postmaster might send us
 	 *
