diff --git a/src/backend/storage/lmgr/proc.c b/src/backend/storage/lmgr/proc.c index dcf1928fb9f7df628861915286ee5050ca6bff53..4c2b6d480240777048d928ea500b5aa75693db4f 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