model-writtenrun 8235 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Justin Pryzby reported confusing zero-memory HashAggregate statistics under Parallel Append and supplied a reproducer in #1.
- David Rowley explained that the unlabelled statistics describe the leader rather than a sum across processes, and proposed matching Sort by hiding statistics for an inactive leader in #2.
- James Coleman suggested displaying the leader explicitly and adding aggregate summary statistics, while noting that this would be a larger change, in #3; that redesign was not included in the eventual patch.
- Justin Pryzby also demonstrated statistics for workers that never launched in #4, and David Rowley identified existing worker-skipping checks elsewhere in explain.c as the model for a fix in #5.
- David Rowley posted #6 to suppress HashAggregate statistics when peak memory is zero for the leader or a worker, noting that EXPLAIN ANALYZE VERBOSE made the output defect more apparent; no subsequent message supplied an independent patch review.
- David Rowley announced the unchanged patch's landing in #8, completing the fix as d5e96520ff with a backport to PostgreSQL 13.