model-writtenrun 531 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Mihail Nikalayeu reported a crash found during stress testing and submitted a fix with a regression test: reacquire the storage-manager handle for each relation fork because cache invalidation can reset rd_smgr to NULL #1.
- ChangAo Chen reproduced the bug and confirmed that the submitted patch fixed it #2.
- Fujii Masao approved the code change but questioned adding a test limited to this worker path because debug_discard_caches could increase test runtime #3.
- Daniel Gustafsson agreed to omit the test because of its runtime cost and low expected value after the fix, and announced plans to push and backpatch to PostgreSQL 19 #4.
- The fix landed as 01805b7d16, preserving the production-code change from #1 while dropping the test and its registration; the change was also backpatched to PostgreSQL 19.