model-writtenrun 1560 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Jakub Wartak reported a rare crash in EDB’s PostgreSQL fork caused by ReinitializeParallelDSM() allocating message-queue handles in a context that could be freed before parallel-context cleanup; no public community PostgreSQL reproducer was available #1.
- Jakub’s patch, co-authored with Jeevan Chalke, switches the entire ReinitializeParallelDSM() function to TopTransactionContext and restores the previous context afterward, protecting more than just the known shm_mq_attach() allocation #1.
- Jeevan reviewed the code flow and endorsed the context switch as consistent with other parallel-query allocations, although he could not reproduce the reported crash; his co-author status excludes him from suggested reviewer credit #2.
- Robert Haas committed the patch unchanged in code and back-patched it through PostgreSQL 14, explaining that extensions could expose the lifetime bug even though no crash path using only core PostgreSQL code was known 1d9f7fbba2.
- Robert closed the thread by confirming that the fix had been committed and back-patched, leaving no outstanding patch revisions #3.