Mar 2025

1 commit
Fix copy-paste error related to the autovacuum launcher in pgstat_io.c
18 Mar 2025Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surelanded as postedfrom patchset #912 of 2 reviewers saw the final version

The single replacement of B_AUTOVAC_WORKER with B_AUTOVAC_LAUNCHER in src/backend/utils/activity/pgstat_io.c exactly matches #91, apart from rebased context.

  • Nazir Bilal Yavuzsaw the final versiontrailerNazir confirmed the oversight and explicitly approved the attached correction in #92.
  • Michael Paquiersaw the final versioncommittercommitted the patch

Feb 2025

3 commits
Move SQL tests of pg_stat_io for WAL data to recovery test 029_stats_restart
7 Feb 2025Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #853 of 3 reviewers saw the final version

Retains the SQL-test removals from #85, but relocates the replacement checks to src/test/recovery/t/029_stats_restart.pl, introduces io_stats(), and checks standalone-backend writes instead of primary-checkpointer writes. These are test-only revisions explained in #90.

  • Tom Lanesaw the final versionLLM analysis, 99% sureTom reproduced the repeated-installcheck failure in tests from #71, identified their fresh-server assumption in #82, and endorsed moving them to TAP in #84.
  • Bertrand Drouvotsaw the final versionLLM analysis, 100% sureBertrand reviewed #85, suggested 029_stats_restart.pl as the destination, and corrected a comment in #86.
  • Nazir Bilal Yavuzsaw the final versionLLM analysis, 100% sureNazir supported moving the checks from #85 into 029_stats_restart.pl and suggested clearer comment wording in #89.
Add data for WAL in pg_stat_io and backend statistics
4 Feb 2025Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #713 of 5 reviewers saw the final version

Matches the feature patch forwarded by Michael in #71, whose patch header credits Nazir. Commit edits count one initialization byte when wal_init_zero is false, remove the obsolete track_wal_io_timing assertion relaxation in pgstat_backend.c, adjust comments, and bump PGSTAT_FILE_FORMAT_ID.

  • Bertrand Drouvotsaw the final versiontrailerBertrand tested accounting, discussed timing controls, identified the wal_init_zero correction in #72, and reported benchmarks of #71 in #73.
  • Nitin Jadhavsaw an earlier versiontrailerNitin questioned WAL-buffer hit semantics in #50 and accepted separate WAL-object hits in #54, before the byte-accounting and timing-control revisions.
  • Amit Kapilasaw an earlier versiontrailerAmit advocated keeping all WAL I/O in pg_stat_io and using hit and byte counters in #49, before the later implementation rework.
  • Michaelsaw the final versiontrailerMichael Paquier repeatedly reviewed and revised the implementation, posted #71, benchmarked it, and committed the final version as reported in #76.
  • Michael Paquiersaw the final versioncommittercommitted the patch
Improve comment on top of pgstat_count_io_op_time()
3 Feb 2025Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #662 of 2 reviewers saw the final version

Extracts only the pgstat_count_io_op_time() explanatory comment from #66, moves it above the function, and polishes its description of pg_stat_database and pgBufferUsage. Michael explicitly reports this separate extraction in #71.

  • Melanie Plagemansaw the final versionLLM analysis, 98% sureMelanie requested explanations of the counters, EXPLAIN instrumentation, and differing accounting scopes in #4, producing the comment later extracted with editorial changes.
  • Michael Paquiersaw the final versioncommittercommitted the patch

Dec 2023

1 commit
Refactor pgstat_prepare_io_time() with an input argument instead of a GUC
16 Dec 2023Michael Paquiermaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1
LLM analysis, 100% surepart of a posted patchsetlight changesfrom patchset #241 of 2 reviewers saw the final version

Commits the timing-helper prerequisite from #24, updating callers to pass track_io_timing while leaving the WAL feature pending. Michael renames the parameter, edits comments, and moves the required pgstat.h declaration update into this prerequisite, as acknowledged in #25.

  • Melanie Plagemansaw an earlier versionLLM analysis, 90% sureMelanie proposed parameterizing pgstat_prepare_io_time() in #2 and documenting zero initialization in #4, before the interface settled on an explicit Boolean timing argument.
  • Michael Paquiersaw the final versioncommittercommitted the patch

Credits across 5 commits

Author
Nazir Bilal Yavuz3
Michael PaquierLLM1
Ranier Vilela1
Reviewer
Michael Paquiercommitter4
Amit Kapila1
Bertrand Drouvot1
Michael1
Nazir Bilal Yavuz1
Nitin Jadhav1
Committer
Michael Paquier5

N LLM means N of the credits come from LLM analysis, not from commit trailers.