model-writtenrun 9699 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane reported that planner code incorrectly treated INCLUDE columns as index keys, demonstrated a row-comparison failure, and attached a patch replacing eight ncolumns references; the patch passed check-world, but the imminent release wrap left little testing time #1.
- Peter Geoghegan advocated fixing the omissions in the next point release, arguing that existing use of nkeycolumns elsewhere made destabilization unlikely; his response did not report testing or identify a concrete patch defect or adopted revision #2.
- Tom Lane determined that most affected loops merely wasted work, that the ordering failure required unsupported index capabilities, and that uniqueness detection could miss valid proofs; he proposed fixing only the demonstrably broken row-comparison logic before the wrap #3.
- Tom Lane committed the row-comparison portion of #1 with a comment clarification and regression tests as 6bdc3005b5.
- After the release wrap, Tom Lane committed the remaining seven substitutions from #1, additional comments, and related uniqueness and correlation fixes in selfuncs.c as 75c46149fc, completing the attached patch across the two commits.