model-writtenrun 4573 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Amit Langote reported that multi-row INSERT repeatedly transformed shared target-column subscripts, breaking SubLink and NullTest expressions, and supplied a patch that copies the raw indirection before each transformation #1.
- Chao Li judged the fix correct and reported that tests also passed with an optimization that skipped copying during final target-list construction #2.
- Shihao Zhong endorsed the fix but noticed that both test subscripts addressed the same array element, suggesting IS NOT NULL and RETURNING f2 to verify both elements #3.
- Amit incorporated Shihao's test improvements while retaining unconditional copying for simplicity and to avoid possible future problems, then announced his intention to push the revised patch #4.
- The revised patch landed unchanged as ba3115d838, and Amit's final message confirmed that it had been pushed and backpatched, leaving no outstanding work in the thread #5.