model-writtenrun 555 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Ilia Evdokimov proposed exposing Incremental Sort's estimated number of presorted-key groups in EXPLAIN to help diagnose poor planner choices, carrying the costing estimate into plan nodes and displaying it when costs are enabled #1.
- Enrique Sánchez found the patch clean and suggested a regression test #2, but Ilia declined because the existing Incremental Sort tests use COSTS OFF and comparable Memoize estimates lacked such tests #3.
- David Rowley supported the feature and requested the established numGroups name, Cardinality type, and documentation of the optional costing output parameter #4; Ilia incorporated those changes in the next patch #5.
- solai v tested the revised output, COSTS OFF behavior, estimate consistency, and partitioned-table cases and reported that the patch looked good #6.
- Ilia subsequently updated the documented Incremental Sort EXPLAIN example to include Estimated Groups, leaving the implementation unchanged #7.
- David committed that final patch with light parameter-naming, comment, and output-assignment-placement adjustments as d29d469bec and announced completion #8; solai acknowledged the push in the thread's last message, with no remaining work identified #9.