Oct 2026

5 commits
test_custom_stats: Stabilize test for counters
18 Oct 2026Michael Paquiermasterunreleased
LLM analysis, 100% surelanded as postedfrom patchset #203 of 3 reviewers saw the final version

The commit and #20 have identical stable Git patch IDs: both add pg_stat_force_next_flush() after the batched updates in src/test/modules/test_custom_stats/t/001_custom_stats.pl.

  • Tom Lanesaw the final versionLLM analysis, 99% sureReported repeated failures of the landed tests and correctly diagnosed the missing shared-memory flush in #19, leading to the light test fix in #20.
  • Alexander Lakhinsaw the final versionLLM analysis, 86% sureReported shutdown-delay testing that reproduced custom-statistics test failures in #22 before the commit, although he did not explicitly report testing the attached flush fix.
  • Michael Paquiersaw the final versioncommittercommitted the patch
Disallow serialized callbacks for fixed-sized custom stats kinds
14 Oct 2026Michael Paquiermasterunreleased
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #181 of 1 reviewer saw the final version

Takes the complete callback-validation patch from the two-patch submission #18; its stable Git patch ID matches exactly. The separate startup-crash patch is excluded from this commit and landed independently.

  • Michael Paquiersaw the final versioncommittercommitted the patch
Fix crash when reading stats file at startup with fixed-sized kinds
14 Oct 2026Michael Paquiermasterunreleased
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #181 of 1 reviewer saw the final version

Takes the complete eight-line pgstat_read_statsfile() fix from #18, with an identical stable Git patch ID despite reversed landing order. The commit credits Sami Imseih and Zsolt Parragi, whose original fix appears in #14.

  • Michael Paquiersaw the final versioncommittercommitted the patch
Add "own_hash" to pg_stat_kind_info
13 Oct 2026Michael Paquiermasterunreleased
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #111 of 2 reviewers saw the final version

Takes the pg_stat_kind_info portion of #11, adding a catalog-version bump, pg_proc.dat formatting, and a per-configuration own_hash assertion in the TAP test. These light additions are explained in #12.

  • Michael Paquiersaw the final versiontrailerRequested the separate view patch in #8, supplied edits in #10, and reviewed and committed its final form as described in #12.
  • Bertrand Drouvotno review foundtrailerHis review in #2 concerns the original storage feature, before the pg_stat_kind_info change was introduced in #7, with no review of this sub-feature shown.
Allow a stats kind to use its own dshash in pgstats
13 Oct 2026Michael Paquiermasterunreleased
LLM analysis, 99% surepart of a posted patchsetmoderate changesfrom patchset #111 of 2 reviewers saw the final version

Takes the dedicated-storage portion of #11, leaving the view change for a separate commit. Besides comments and TAP cleanup, pgstat_drop_entry() changes its kind-range runtime check to an assertion while retaining the missing-kind handling, as explained in #12.

  • Michael Paquiersaw the final versiontrailerDirected the mapping and API revisions in #6 and #8, supplied cleanup in #10, and performed the final review and commit reported in #12.
  • Bertrand Drouvotsaw an earlier versiontrailerIdentified allocation-failure risks, unnecessary scans, redundant DSA lookup, and the preload-guard regression in #2, before substantial mapping and API revisions followed.

Credits across 5 commits

Author
Sami Imseih5
Zsolt Parragi1
Reviewer
Michael Paquiercommitter5
Bertrand Drouvot2
Reported by
Tom Lane1
Zsolt Parragi1
Committer
Michael Paquier5