Jul 2024

1 commit
Improve the numeric width_bucket() computation.
10 Jul 2024Dean Rasheedmaster18beta1REL_19_STABLE18beta1REL_18_STABLE18beta1
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #10 of 1 reviewer saw the final version

0dcf753bd8 retains the truncating division from #1, but also removes compute_bucket()'s reversed_bounds parameter and conditional subtraction logic in src/backend/utils/adt/numeric.c. Dean explains this additional simplification in #4: negating both division inputs leaves the quotient unchanged.

  • Joel Jacobsonsaw an earlier versionLLM analysis, 99% sureJoel reported matching result hashes and faster execution on three machines in #2, and received review credit in 0dcf753bd8, but his testing preceded the additional reversed-bounds logic simplification.

Credits across 1 commit

Author
Dean RasheedLLM1
Committer
Dean Rasheed1

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