postgres.git / summary / log / commit / refs

commit    cf3fff6326299deca77c1387df31d24aea36e2e1
Author:   Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date:     Fri Jan 27 16:24:58 2012 +0000
First released in: 9.2.0

    Initialize the new bgwriterLatch field properly.
    
    Peter Geoghegan


src/backend/storage/lmgr/proc.c | 1 + 1 file changed, 1 insertion(+) 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 [parent: e43166a557d5]