Sep 2024

1 commit
Add callbacks to control flush of fixed-numbered stats
9 Sep 2024Michael Paquiermaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 98% suremodified before commitlight changesfrom patchset #12 of 2 reviewers saw the final version

The implementation matches #1 across src/backend/utils/activity/pgstat*.c and src/include/utils/pgstat_internal.h, with rebase adjustments accommodating the already-renamed WAL initialization callback. The substantive editorial change in fc415edf8c is an expanded commit message explaining flush timing, the fast path and retained wrappers.

  • Bertrand Drouvotsaw the final versiontrailerBertrand supported the generalization and proposed combining the callbacks with a check_only parameter #3 #5; the committed implementation retained the reviewed design.
  • Kyotaro Horiguchisaw the final versiontrailerKyotaro supported the generalization, questioned pending-data checks and callback overhead #2, then withdrew his proposed check removal after recognizing that all flush callbacks run once flushing starts #6.

Credits across 1 commit

Author
Michael PaquierLLM1
Reviewer
Bertrand Drouvot1
Kyotaro Horiguchi1
Committer
Michael Paquier1

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