- Notifications
You must be signed in to change notification settings - Fork28
Commite280c63
committed
Fix mishandling of background worker PGPROCs in EXEC_BACKEND builds.
InitProcess() relies on IsBackgroundWorker to decide whether the PGPROCfor a new backend should be taken from ProcGlobal's freeProcs or frombgworkerFreeProcs. In EXEC_BACKEND builds, InitProcess() is calledsooner than in non-EXEC_BACKEND builds, and IsBackgroundWorker wasn'tgetting initialized soon enough.Report by Noah Misch. Diagnosis and fix by me.1 parent232f147 commite280c63
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4668 | 4668 | | |
4669 | 4669 | | |
4670 | 4670 | | |
| 4671 | + | |
| 4672 | + | |
| 4673 | + | |
4671 | 4674 | | |
4672 | 4675 | | |
4673 | 4676 | | |
| |||
0 commit comments
Comments
(0)