model-writtenrun 4616 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Corey Huinker proposed n_tup_newpage_upd to count updates that move a row version to another heap page and help users assess fillfactor settings, initially representing update categories with a three-value enum #1.
- Andres Freund supported the idea but noted that line-pointer exhaustion can also force updates onto another page, making aggressive vacuuming relevant, and questioned using a statistics enum inside heap_update() #2; Peter Geoghegan clarified that the existing total-update counter remained unchanged, and Andres withdrew his concern about altered totals #3 #4.
- Peter Geoghegan suggested separate index-level instrumentation to identify indexes that prevent HOT updates #3 #5, while Corey Huinker discussed additional distinctions and TOAST or lock-wait counters #6; Andres explained the line-pointer limit and considered those additional counters less directly relevant #7, and none of these extensions appeared in the subsequent patch #9.
- After declaring the patch nearly committable #8, Peter Geoghegan posted a revision that replaced the enum with two boolean arguments and clarified the documentation #9; Michael Paquier flagged a forthcoming field-prefix cleanup without requesting changes here #10, and Corey endorsed the boolean approach #11.
- Peter Geoghegan committed the revision as ae4fdde135, retaining its implementation while polishing documentation, updating the catalog-version date and omitting its proposed statistics-format bump; his final message confirmed that the feature had landed #12.