model-writtenrun 8010 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Nikhil Benesch proposed negative indexes for split_part() to simplify selecting fields from the end, citing the precedent of left() and right(), and supplied implementation, documentation, and tests #1.
- Nikhil chose to count fields before locating a negative index, with a single-pass shortcut for -1, leaving more complex backward searching or circular buffering out because their benefit was unclear #1.
- Jacob Champion reported successful feature testing and installcheck-world, endorsed the simple two-pass implementation, and identified an uncovered missing-separator branch; an unrelated documentation dependency failure prevented documentation validation #4.
- Tom Lane committed the patch as ec0294fb2c, preserving its approach while adjusting bounds checking and search-state handling, polishing documentation and comments, and adding missing-separator regression tests.
- Tom confirmed that the patch had landed and that he had added coverage for the branch Jacob identified, leaving no outstanding work on this feature in the thread #5.