1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-01 01:04:50 +03:00

Initialize the new bgwriterLatch field properly.

Peter Geoghegan
This commit is contained in:
Heikki Linnakangas 2012-01-27 18:24:58 +02:00
parent e43166a557
commit cf3fff6326

View 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