model-writtenrun 3770 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Daniel Gustafsson opened the thread with the v12 backpatch announcement in #1: LLVM inlining types would live in an explicit context recreated after 100 queries to limit memory accumulation.
- Tom Lane reported LLVMContextDispose assertion failures on buildfarm members canebrake and urutu, confined to v12, and suggested reverting that backpatch in #2.
- Daniel agreed to investigate while retaining reversion as a fallback in #3, then reported a potential fix developed through off-list discussion with Andres Freund that needed LLVM debug-build testing in #4.
- Daniel posted the fix in #5 after identifying a void type created outside the intended context; the affected code had been refactored in v13, explaining why only v12 failed.
- The attached patch landed unchanged as c922b24106, and Daniel confirmed that canebrake and urutu had turned green in #6, resolving the regression without reverting the backpatch.