Mar 2023

2 commits
Generate a few more functions of pgstatfuncs.c with macros
27 Mar 2023Michael Paquiermaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #213 of 3 reviewers saw the final version

Applying #21 to the commit's parent reproduces src/backend/utils/adt/pgstatfuncs.c except for removal of the trailing continuation backslash on the transaction-function macro's closing brace. Michael identified this in #22 and confirmed the correction and application in #23.

  • Corey Huinkersaw the final versionLLM analysis, 85% sureCorey reported passing make check-world and approved #1 in #2; its function-timing macros survived with naming, field-access and formatting cleanup.
  • Andres Freundsaw the final versionLLM analysis, 93% sureAndres reviewed #1 and proposed the adopted _MS naming for function and database timing macros in #6, a contribution explicitly credited by the commit.
  • Michael Paquiersaw the final versioncommittercommitted the patch
Generate pg_stat_get_xact*() functions for relations using macros
27 Mar 2023Michael Paquiermaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% surelanded as postedfrom patchset #141 of 3 reviewers saw the final version

Applying #14 to the commit's parent produces byte-identical src/backend/utils/adt/pgstatfuncs.c. The commit contains all seven relation-accessor conversions from that submission.

  • Corey Huinkersaw an earlier versionLLM analysis, 94% sureCorey tested and approved #1 in #2, before #14 narrowed the scope and added the tuples_newpage_updated accessor.
  • Andres Freundsaw an earlier versionLLM analysis, 95% sureAndres reviewed #1 in #6 and #8, prompting separate prerequisite refactoring before the narrowed submission with an additional accessor in #14.
  • Michael Paquiersaw the final versioncommittercommitted the patch

Credits across 2 commits

Author
Bertrand Drouvot2
Reviewer
Michael Paquiercommitter2
Committer
Michael Paquier2