Oct 2025

3 commits
Add stats_reset to pg_stat_user_functions
8 Oct 2025Michael Paquiermaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #111 of 1 reviewer saw the final version

The function callback, SQL accessor, view, catalog entry, and documentation match #11. The commit adds catalog/statistics-format bumps and replaces widespread isolation-output changes with a dedicated reset-check step used before and after the reset, as explained in #12.

  • Michael Paquiersaw the final versioncommittercommitted the patch
Add stats_reset to pg_stat_all_{tables,indexes} and related views
6 Oct 2025Michael Paquiermaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #62 of 2 reviewers saw the final version

Takes the relation-timestamp feature component of the two-patch series in #6, with matching view, accessor, catalog-entry, and documentation changes. Committer edits relocate the callback, standardize test expressions, and add catalog/statistics-format bumps; the separate prerequisite test landed in c173aaff98.

  • Sami Imseihsaw the final versiontrailerSami examined the original code and requested index-OID reset coverage in #2, after which only test and other light changes followed.
  • Michael Paquiersaw the final versiontrailerMichael identified the shared-catalog test risk in #3, checked view/documentation coverage and requested the test split in #5, then edited and committed the final series as reported in #7.
Add test for pg_stat_reset_single_table_counters() on index
6 Oct 2025Michael Paquiermaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #62 of 2 reviewers saw the final version

Takes only the prerequisite index-reset test from #6, changing src/test/regress/sql/stats.sql and its expected output. It replaces the queried index OID variable with 'test_last_scan_pkey'::regclass and adjusts comments/formatting, matching the explanation in #7.

  • Sami Imseihsaw the final versionLLM analysis, 98% sureSami identified the missing index-OID reset test in #2, and that request became the independent test component of #6 with only light test refinements.
  • Michael Paquiersaw the final versioncommittercommitted the patch

Credits across 3 commits

Author
Bertrand Drouvot3
Reviewer
Michael Paquiercommitter3
Sami Imseih1
Committer
Michael Paquier3