model-writtenrun 8333 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- David Rowley opened the discussion with a patch making HashAgg's non-text EXPLAIN ANALYZE always report Disk Usage and HashAgg Batches, following Justin Pryzby's suggestion, and invited discussion of the related Incremental Sort open item #1.
- James Coleman questioned whether showing unused disk statistics would confuse consumers and highlighted inaccurate memory accounting when sorts spill to disk #2; Robert Haas offered a bare agreement #3.
- Tom Lane proposed that non-text output retain a fixed schema for a given plan shape, including zero counts for events that could occur at runtime #4; James questioned misleading zero memory figures #5, and Tom distinguished the intended policy from existing implementation shortcomings #6.
- David accepted Tom's reasoning because another execution of the same HashAgg plan could spill, and announced his intention to commit the patch #7.
- The original patch #1 landed unchanged as 40efbf8706; David marked the HashAgg open item complete and left Incremental Sort to its developers #8.
- Justin later argued that Incremental Sort should likewise show zero disk usage, or at least determine field inclusion from the sort methods used instead of measured disk usage; that question remained unresolved at the thread's end #9.