Sep 2025

1 commit
injection_points: Add proper locking when reporting fixed-variable stats
30 Sep 2025Michael Paquiermaster19beta1REL_19_STABLE19beta1REL_18_STABLE18.1
LLM analysis, 100% surelanded as postedfrom patchset #13 of 3 reviewers saw the final version

Both hunks in 3cc689f833 exactly match #1: LWLockAcquire with LW_EXCLUSIVE precedes the changecount write, and LWLockRelease follows it in pgstat_report_inj_fixed().

  • Bertrand Drouvotsaw the final versiontrailerBertrand Drouvot approved the unchanged patchset #1 in #4.
  • Chao Lisaw the final versiontrailerChao Li questioned whether other statistics writers needed locking in #2, then approved #1 in #5 after the concurrency distinction was clarified.
  • wenhui qiusaw the final versiontrailerwenhui qiu approved #1 and explained how concurrent backend updates cause inconsistent changecount state in #6.

Credits across 1 commit

Author
Michael Paquier1
Reviewer
Bertrand Drouvot1
Chao Li1
wenhui qiu1
Committer
Michael Paquier1