Skip to content

Commit cf3fff6

Browse files
committed
Initialize the new bgwriterLatch field properly.
Peter Geoghegan
1 parent e43166a commit cf3fff6

File tree

1 file changed

+1
-0
lines changed
  • src/backend/storage/lmgr

1 file changed

+1
-0
lines changed

src/backend/storage/lmgr/proc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ InitProcGlobal(void)
186186
ProcGlobal->startupProc = NULL;
187187
ProcGlobal->startupProcPid = 0;
188188
ProcGlobal->startupBufferPinWaitBufId = -1;
189+
ProcGlobal->bgwriterLatch = NULL;
189190

190191
/*
191192
* Create and initialize all the PGPROC structures we'll need (except for

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy