model-writtenrun 8573 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Atsushi Torikoshi reported that pg_stat_reset_slru('clog') reset every SLRU's counters and also cleared unrelated reset timestamps, demonstrating the behavior with SQL output in #1.
- The patch attached to #1 removed the unconditional clearing of the entire statistics array so the existing loop could reset only the requested entry.
- Tomas Vondra confirmed that the memset was left over from an earlier implementation and said he would push the fix in #2.
- The patch landed unchanged as d5d09692ea, and Tomas Vondra announced the push in #3.
- Atsushi Torikoshi acknowledged the committed fix in #4, closing the thread with no outstanding work.