Jul 2022

2 commits
Remove fls(), use pg_leftmost_one_pos32() instead.
21 Jul 2022Thomas Munromaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 99% suremodified before commitlight changesfrom patchset #81 of 2 reviewers saw the final version

The committed diff exactly matches the complete fls-removal attachment in #8, ignoring index abbreviation lengths and the mail footer. Only the commit subject and explanatory prose were expanded to describe compiler builtins and the inconsistent bit numbering.

  • David Rowleysaw an earlier versiontrailerIn #2, he supported the proposal and questioned the signed argument passed to pg_leftmost_one_pos32(); subsequent revisions removed that wrapper and reworked DSA zero handling and size_t support.
  • Tom Lanesaw the final versiontrailerHe proposed direct bitutils calls in #3, questioned DSA zero handling in #6, requested size_t support in #7, and approved the final pair in #9.
Extend size_t support in pg_bitutils.h.
21 Jul 2022Thomas Munromaster16beta1REL_19_STABLE16beta1REL_18_STABLE16beta1REL_17_STABLE16beta1REL_16_STABLE16beta1
LLM analysis, 100% surelanded as postedfrom patchset #81 of 1 reviewer saw the final version

The commit exactly matches the complete size_t-support attachment in #8, including its commit description. Its three hunks in src/include/port/pg_bitutils.h consolidate the existing aliases and add pg_leftmost_one_pos_size_t.

  • Tom Lanesaw the final versiontrailerHe identified the size_t truncation problem and proposed the width-dependent alias in #7, then explicitly approved both final patches in #9.

Credits across 2 commits

Author
Thomas MunroLLM2
Reviewer
Tom Lane2
David Rowley1
Committer
Thomas Munro2

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