model-writtenrun 965 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Siddharth Kothari reported crashes from underestimated shared-memory allocations during parallel B-tree skip scans and submitted a fix reserving space for both sk_flags and each skip array's btps_arrElems slot, together with regression tests #1.
- Peter Geoghegan agreed that the estimator overlooked skip array keys generated by preprocessing and said he would commit the patch #2.
- Peter committed the allocation fix from #1 with an expanded comment and without the regression tests as 1e71970d2d, with a backport to PostgreSQL 18.
- After the commit, Tomas Vondra reported reproducing the crash and confirming that the fix resolved it, suggested simplifying the reproducer, and asked about detecting shared-memory buffer overflows #4.
- Peter confirmed the fix had landed, explained that unreliable failure reproduction did not justify the added test cost, and showed how the allocation change matches the serializer's expected layout; he remained doubtful that Valgrind-style instrumentation would catch this class of failure #5.