model-writtenrun 2303 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Sami Imseih reported that rolled-back inserts increased n_ins_since_vacuum while n_mod_since_analyze excluded them, proposing committed-only insert accounting and clearer public documentation in #1.
- Euler Taveira defended counting physically inserted rows in #2, Mark Dilger demonstrated the existing counters and questioned separating the vacuum thresholds in #6 and #15, and David G. Johnston and Andres Freund challenged whether any harmful behavior had been demonstrated in #14 and #18.
- Sami accepted retaining the behavior and narrowed the work to code comments and documentation in #19 and #21, acknowledging that counting aborted inserts neither prevented nor delayed autovacuum.
- David Rowley explained that excluding aborted inserts would require another field in PgStat_TableCounts, while the apparent downside was an occasional earlier autovacuum, and supplied a code-comment patch in #22.
- Sami approved David's comment and supplied a separate documentation note describing committed and aborted row accounting in #23, then bundled both patches with explicit authorship credits in #24.
- David committed only the code-comment portion of #24 as 530050d8d2, with only a blank-line difference, and requested field-specific documentation instead of the standalone note in #25.
- Sami resent the documentation remainder with per-field explanations and added pg_stat_database coverage in #26; David G. Johnston then proposed a general rule with explicit exceptions in #27, which Sami adopted in #28 while retaining the existing n_tup_upd description.
- David G. Johnston accepted the revised direction but asked whether n_mod_since_analyze should explain why aborted transactions are excluded in #29; after Sami's response in #30, he accepted leaving that explanation implicit in #31.
- David Rowley identified misleading wording that omitted aborted inserts from n_dead_tup and suggested simpler n_mod_since_analyze wording in #32; Sami incorporated both corrections in #34, retaining the broader documentation proposal, which remained uncommitted at the end of the thread.