model-writtenrun 3856 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Atsushi Torikoshi proposed an 'all' target for pg_stat_reset_shared() to avoid enumerating every statistics type in #1, while Bharath Rupireddy questioned the need and the risk of accidental broad resets in #3; Torikoshi explained the convenience and expected common usage in #5.
- Michael Paquier floated a text-array interface in #6, but Andres Freund favored a no-argument reset-all call in #9, arguing that callers should not need to track the growing set of statistics types.
- Matthias van de Meent suggested that a common reset point could improve comparisons between metrics in #8, leading Torikoshi to submit a multi-lock prototype in #10 that omitted recovery-prefetch resetting.
- Bharath Rupireddy, Kyotaro Horiguchi, Michael Paquier, and Andres Freund rejected the prototype's complexity, duplicated code, and locking assumptions in #12, #13, #14, and #15; Matthias withdrew his atomic-reset suggestion in #18 after learning the locking cost.
- Andres suggested using a default argument for pg_stat_reset_slru() in #15, and Bharath supplied a separate initial attachment for that API improvement in #17, starting a parallel piece of work.
- Torikoshi accepted sequential calls to existing reset routines in #20, and Michael and Andres accepted the small differences between reset timestamps in #21 and #22; the replacement patch in #23 handled NULL or omitted arguments, included recovery-prefetch statistics, and added tests.
- Michael requested documentation corrections in #24, which Torikoshi incorporated in #25; meanwhile, Andres challenged the continued exclusion of SLRUs in #27, and Torikoshi proposed adding a corresponding explicit target in #28.
- Michael committed the reset-all implementation from #25 as 23c8c0c8f4, adding documentation, comment, formatting, and catalog-version adjustments described in #29; this first landing still excluded SLRUs.
- Michael endorsed adding a slru target and including SLRUs in reset-all operations in #30, while retaining pg_stat_reset_slru() because removing or changing its individual-cache interface could affect existing applications.
- Torikoshi requested equivalent argument/default documentation for the separate SLRU API patch in #31, Michael agreed in #32, and Bharath supplied the revision in #33; Michael explained in #34 that system_functions.sql already supplies argument names and committed the patch with a catalog-version bump as e5cca6288a, confirming application in #35.
- Torikoshi submitted the slru target, reset-all inclusion, regression tests, and an itemized documentation rewrite in #36; Michael extracted the general documentation improvement into 7f6bc3b356 and reported the missing slru error-hint entry in #37.
- Torikoshi resent the remaining SLRU change with the corrected error hint in #38; Michael then identified test output that depended on the number of SLRU caches in #39 and changed the assertions to aggregate reset timestamps before committing 2e8a0edc2a.
- Michael declared the thread complete after the final landing in #40, and Torikoshi acknowledged it in #41; all submitted functionality had landed, with atomic multi-lock resetting abandoned and the existing individual-SLRU reset interface retained.