projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e43166a
)
Initialize the new bgwriterLatch field properly.
author
Heikki Linnakangas
Fri, 27 Jan 2012 16:24:58 +0000
(18:24 +0200)
committer
Heikki Linnakangas
Fri, 27 Jan 2012 16:25:32 +0000
(18:25 +0200)
Peter Geoghegan
src/backend/storage/lmgr/proc.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/storage/lmgr/proc.c
b/src/backend/storage/lmgr/proc.c
index dcf1928fb9f7df628861915286ee5050ca6bff53..4c2b6d480240777048d928ea500b5aa75693db4f 100644
(file)
--- 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