- Notifications
You must be signed in to change notification settings - Fork28
Commit250c26b
committed
Fix checkpointer crash in EXEC_BACKEND builds.
Nothing in the checkpointer calls InitXLOGAccess(), so WALInsertLocksnever got initialized there. Without EXEC_BACKEND, it works anywaybecause the correct value is inherited from the postmaster, butwith EXEC_BACKEND we've got a problem. The problem appears to havebeen introduced by commit68a2e52.To fix, move the relevant initialization steps from InitXLOGAccess()to XLOGShmemInit(), making this more parallel to what we doelsewhere.Amit Kapila1 parent93a028f commit250c26b
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4841 | 4841 | | |
4842 | 4842 | | |
4843 | 4843 | | |
| 4844 | + | |
| 4845 | + | |
| 4846 | + | |
| 4847 | + | |
| 4848 | + | |
4844 | 4849 | | |
4845 | 4850 | | |
4846 | 4851 | | |
| |||
7619 | 7624 | | |
7620 | 7625 | | |
7621 | 7626 | | |
7622 | | - | |
7623 | | - | |
7624 | | - | |
7625 | | - | |
7626 | | - | |
7627 | 7627 | | |
7628 | 7628 | | |
7629 | 7629 | | |
| |||
0 commit comments
Comments
(0)