Oct 2023

3 commits
Expand regression tests for pg_stat_reset_shared()
30 Oct 2023Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #381 of 1 reviewer saw the final version

Combines both patches from #38, preserving their assertions but moving recovery_prefetch checks before the WAL checks in src/test/regress/sql/stats.sql and its expected output. Michael confirms merging and applying them in #39.

  • Michael Paquiersaw the final versioncommittercommitted the patch
Introduce pg_stat_checkpointer
30 Oct 2023Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #341 of 3 reviewers saw the final version

Matches #34 except for the catalog-version bump and an added assertion that pg_stat_reset_shared(NULL) preserves the checkpointer reset timestamp. The diff establishes this source despite the older version label used in the application announcement #37.

  • Bertrand Drouvotsaw an earlier versiontrailerSuggested clearer documentation and column names and approved the early split in #2, #15, and #20, before backend-counter removal changed the series.
  • Andres Freundsaw an earlier versiontrailerReviewed compatibility in #4 and #6 and challenged the inclusion of backend statistics in #25 and #27, before the resulting counter-removal restructuring.
  • Michael Paquiersaw the final versiontrailerReviewed naming and series organization in #31, identified documentation and error-hint omissions in #33, and committed the final version with an additional reset assertion in #37.
Remove buffers_backend and buffers_backend_fsync from pg_stat_checkpointer
27 Oct 2023Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #322 of 3 reviewers saw the final version

Takes only the backend-counter removal patch from #32, leaving its SLRU and new-view patches uncommitted at that point. All files changed by that component match exactly; the commit additionally bumps src/include/catalog/catversion.h.

  • Bertrand Drouvotsaw an earlier versiontrailerReviewed and approved the earlier view split containing backend counters in #2, #15, and #20, before the later decision to delete those counters.
  • Andres Freundsaw the final versiontrailerIdentified that backend counters did not belong to the checkpointer in #25 and proposed removing both in favor of pg_stat_io in #27, which the committed patch implements.
  • Michael Paquiersaw the final versioncommittercommitted the patch

Credits across 3 commits

Author
Bharath Rupireddy3
Reviewer
Michael Paquiercommitter3
Andres Freund2
Bertrand Drouvot2
Committer
Michael Paquier3