model-writtenrun 8540 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Shihao zhong reported that an initially unbounded Incremental Sort could fail an assertion or crash when a later scan became bounded, and proposed recreating incompatible sort states with regression coverage in #1.
- David Rowley argued that recreating the entire sort state was wasteful and supplied a replacement that changes the boundedness flag before resetting the state; he also proposed folding that flag into tuplesort_reset() on master in #2.
- Shihao zhong accepted the state-reuse approach and reported successful local testing of the replacement in #3.
- David Rowley committed the replacement from #2 with only comment capitalization and commit-message edits as 65507f0daa, retaining a separate setter to preserve the existing reset signature in supported branches.
- David Rowley then implemented the discussed master-only API cleanup as d9c6f22c3b, moving boundedness adjustment into tuplesort_reset(), and confirmed that the fix had reached all supported branches in #4, leaving no outstanding work stated in the thread.