diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2012-01-27 18:24:58 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2012-01-27 18:25:32 +0200 |
commit | cf3fff6326299deca77c1387df31d24aea36e2e1 (patch) | |
tree | 9214a70aa2edfeaaa853ff67a9a1d0cc659d6fb9 /src | |
parent | e43166a557d5f28aa66fa15be12fdc6a8ebe380a (diff) | |
download | postgresql-cf3fff6326299deca77c1387df31d24aea36e2e1.tar.gz postgresql-cf3fff6326299deca77c1387df31d24aea36e2e1.zip |
Initialize the new bgwriterLatch field properly.
Peter Geoghegan
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/storage/lmgr/proc.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 |