forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit05c0059
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 parenta2a718b commit05c0059
1 file changed
+3
-0
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4566 | 4566 |
| |
4567 | 4567 |
| |
4568 | 4568 |
| |
| 4569 | + | |
| 4570 | + | |
| 4571 | + | |
4569 | 4572 |
| |
4570 | 4573 |
| |
4571 | 4574 |
| |
|
0 commit comments
Comments
(0)