model-writtenrun 4877 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- While adjusting incremental-sort costs, David Rowley discovered that drop-index-concurrently-1 used an index scan where its intended coverage required a sequential scan #1.
- David explained that incremental-sort path generation had exposed the test's fragile reliance on casts to force a sequential scan while enable_seqscan was disabled #1.
- His patch explicitly toggled enable_seqscan before planning each prepared query, removed the casts, clarified statement names and comments, and updated both expected-output files #1.
- The sole patchset landed unchanged as 8b6b043cee, with no independent review recorded in the thread.
- David closed the thread by confirming that the fix had been pushed and backpatched through PostgreSQL 13, where incremental sorts were introduced #2.