Jun 2026

2 commits
Add backend-level lock statistics
30 Jun 2026Michael Paquiermasterunreleased
LLM analysis, 100% suremodified before commitlight changesfrom patchset #111 of 4 reviewers saw the final version

8c579bdc36 matches the second patch of #11 in implementation, catalog function definition, and tests. Committer edits add the src/include/catalog/catversion.h bump, reposition the unchanged documentation entry before the backend WAL function, and revise the commit message.

  • Tatsuya Kawatasaw an earlier versiontrailer#7 reports successful local testing and discusses parallel-worker attribution, before #11 changes the counter units and SQL wait_time type.
  • Michael Paquiersaw the final versiontrailer#5 reviews timestamp handling and the backend statistics implementation, requests declaration spacing, and Michael subsequently commits #11, confirming completion in #12.
  • Tristan Partinsaw an earlier versiontrailer#2 endorses the series after reviewing formatting, timestamp handling, and documentation, before #11 changes the counter units and SQL wait_time type.
  • Rui Zhaosaw an earlier versiontrailer#9 reports a clean build and successful testing, examines counting and flushing behavior, and requests spacing fixes before the wait-time representation changes in #11.
Refactor pg_stat_get_lock() to use a helper function
30 Jun 2026Michael Paquiermasterunreleased
LLM analysis, 100% surelanded as postedfrom patchset #114 of 4 reviewers saw the final version

The complete diff of dfe7d17e00 is identical to the first patch of #11, extracting pg_stat_lock_build_tuples() in src/backend/utils/adt/pgstatfuncs.c.

  • Tatsuya Kawatasaw the final versiontrailer#7 reports testing the patch without functional issues, and the helper extraction subsequently changes only through rebased context in #11.
  • Michael Paquiersaw the final versiontrailer#5 explicitly checks and accepts the helper's null reset-timestamp handling, and Michael commits the final extraction from #11.
  • Tristan Partinsaw the final versiontrailer#2 reviews helper alignment and the placement of timestamp handling, accepting Bertrand's explanation in #4, with no subsequent substantive changes to the extraction.
  • Rui Zhaosaw the final versiontrailer#9 reports reviewing and testing the series successfully, and the helper extraction remains unchanged apart from rebased context in #11.

Credits across 2 commits

Author
Bertrand Drouvot2
Reviewer
Michael Paquier2
Rui Zhao2
Tatsuya Kawata2
Tristan Partin2
Committer
Michael Paquier2