Jul 2026

2 commits
Rework pgstat_write_statsfile() in combination with to_serialized_data
15 Jul 2026Michael PaquiermasterunreleasedREL_19_STABLE19beta3
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #531 of 2 reviewers saw the final version

Combines the second and third patches of #53, excluding its separately committed revert. Applying those patches to the commit's parent reproduces pgstat.c and test_custom_var_stats.c exactly; pgstat_internal.h differs only by a shortened explanatory comment.

  • Chao Lisaw an earlier versionLLM analysis, 92% sureChao identified the missing failure indication for cleanup callbacks in #608529 and #32, an issue ultimately addressed after further API and control-flow changes in #53.
  • Michael Paquiersaw the final versioncommittercommitted the patch
Revert "Rename routines for write/read of pgstats file"
14 Jul 2026Michael PaquiermasterunreleasedREL_19_STABLE19beta3reverts 1 commit here
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #532 of 2 reviewers saw the final version

Exactly matches the first patch of #53, making the I/O helpers private in pgstat.c and defining local wrappers in test_custom_var_stats.c. The two error-handling patches were committed separately, as confirmed in #54.

  • Peter Eisentrautsaw the final versionLLM analysis, 95% surePeter reviewed the published helpers and proposed precisely the return to private functions and test-local wrappers implemented here in #47, before the corrective attachments existed.
  • Michael Paquiersaw the final versioncommittercommitted the patch

Nov - Dec 2025

6 commits
Fix const correctness in pgstat data serialization callbacks
17 Dec 2025Michael Paquiermaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #451 of 1 reviewer saw the final version

Matches the const-correctness changes in #45, with only the header comment changed from reconstructing entry state to reconstructing an entry. The attachment and commit credit Michael Paquier, who supplied the original fix in #44, with Sami Imseih contributing the comment.

  • Peter Eisentrautsaw the final versionLLM analysis, 94% surePeter inspected the landed implementation from #38 and identified the precise deserialization const-contract error in #43, which the small corrective patch fixes.
test_custom_stats: Add tests with read/write of auxiliary data
15 Dec 2025Michael Paquiermaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #380 of 1 reviewer saw the final version

Extracts the test-module portion of #38. Changes in test_custom_var_stats.c replace long/fseek with pgoff_t/fseeko and simplify comments and diagnostics, matching the explanation in #42.

  • Chao Lisaw an earlier versiontrailerChao questioned auxiliary-file ownership and cleanup failure reporting in #17, #26, and #32, before the test serialization layout and read/write implementation were substantially revised in #37.
Allow cumulative statistics to read/write auxiliary data from/to disk
15 Dec 2025Michael Paquiermaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #380 of 1 reviewer saw the final version

Extracts the backend, header, and typedef-list changes from #38, leaving its tests for a separate commit. Differences in pgstat.c and pgstat_internal.h are comment simplifications; the callback logic matches.

  • Chao Lisaw an earlier versiontrailerChao reviewed file ownership and callback failure semantics in #17, #26, and #32, before callback-combination validation was removed and the API revised in #37.
test_custom_stats: Test module for custom cumulative statistics
8 Dec 2025Michael Paquiermaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #231 of 1 reviewer saw the final version

Takes the new test_custom_stats module from the migration patch in #23, whose content matches #22, while committing injection_points removal separately. Edits standardize names and comments, adjust TAP assertions, and add documentation and typedef-list entries, as described in #24.

  • Michael Paquiersaw the final versiontrailerMichael proposed separate fixed and variable libraries and drop/fetch coverage in #16, then reviewed, renamed, split, and committed the migration as reported in #24.
injection_points: Remove portions related to custom pgstats
8 Dec 2025Michael Paquiermaster19beta1REL_19_STABLE19beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #231 of 1 reviewer saw the final version

Exactly extracts the injection_points removal hunks from the migration patch in #23, also present unchanged in #22. The new replacement module was deliberately separated into another commit, as explained in #24.

  • Michael Paquiersaw the final versioncommittercommitted the patch
Rename routines for write/read of pgstats file
25 Nov 2025Michael Paquiermaster19beta1REL_19_STABLE19beta1
LLM analysis, 99% surepart of a posted patchsetlight changesfrom patchset #91 of 1 reviewer saw the final version

Extracts only the read_chunk/write_chunk renaming and publication from #9, placing declarations and convenience macros in pgstat_internal.h without the auxiliary-file machinery. Michael explicitly reports extracting and committing this independent portion in #14.

  • Michael Paquiersaw the final versioncommittercommitted the patch

Credits across 8 commits

Author
Sami Imseih7
Michael Paquier1
Reviewer
Michael Paquiercommitter5
Chao Li2
Reported by
Peter Eisentraut2
Co author
Michael Paquier2
Sami Imseih1
Committer
Michael Paquier8