forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit3372f1a
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 parentfece13d commit3372f1a
1 file changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4815 | 4815 | | |
4816 | 4816 | | |
4817 | 4817 | | |
| 4818 | + | |
| 4819 | + | |
| 4820 | + | |
| 4821 | + | |
| 4822 | + | |
4818 | 4823 | | |
4819 | 4824 | | |
4820 | 4825 | | |
| |||
7595 | 7600 | | |
7596 | 7601 | | |
7597 | 7602 | | |
7598 | | - | |
7599 | | - | |
7600 | | - | |
7601 | | - | |
7602 | | - | |
7603 | 7603 | | |
7604 | 7604 | | |
7605 | 7605 | | |
| |||
0 commit comments
Comments
(0)