]> granicus.if.org Git - postgresql/commitdiff
Initialize the new bgwriterLatch field properly.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 27 Jan 2012 16:24:58 +0000 (18:24 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 27 Jan 2012 16:25:32 +0000 (18:25 +0200)
Peter Geoghegan

src/backend/storage/lmgr/proc.c

index dcf1928fb9f7df628861915286ee5050ca6bff53..4c2b6d480240777048d928ea500b5aa75693db4f 100644 (file)
@@ -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