diff --git a/src/backend/storage/lmgr/proc.c b/src/backend/storage/lmgr/proc.c index dcf1928fb9f..4c2b6d48024 100644 --- a/src/backend/storage/lmgr/proc.c +++ b/src/backend/storage/lmgr/proc.c @@ -186,6 +186,7 @@ InitProcGlobal(void) ProcGlobal->startupProc = NULL; ProcGlobal->startupProcPid = 0; ProcGlobal->startupBufferPinWaitBufId = -1; + ProcGlobal->bgwriterLatch = NULL; /* * Create and initialize all the PGPROC structures we'll need (except for