Oct 2021

1 commit
Fix corner-case loss of precision in numeric_power().
6 Oct 2021Dean Rasheedmaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1REL_14_STABLE14.1REL_13_STABLE13.5+4 more
LLM analysis, 100% surelanded as postedfrom patchset #241 of 1 reviewer saw the final version

The code, comment, and regression-test changes match #24: power_var() no longer caps the initial logarithm calculation at NUMERIC_MAX_DISPLAY_SCALE.

  • Alvaro Herrerasaw the final versionLLM analysis, 100% sureRequested an explanation for removing the scale cap in #23, incorporated as a comment-only revision in #24, and is credited in e54a758d24.

Jul - Aug 2021

2 commits
Adjust the integer overflow tests in the numeric code.
6 Aug 2021Dean Rasheedmaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1REL_14_STABLE14beta3REL_13_STABLE13.4+4 more
LLM analysis, 100% suremodified before commitlight changesfrom patchset #141 of 1 reviewer saw the final version

The numeric.c overflow-check changes and integer-conversion tests match #14 modulo whitespace. The commit additionally rewrites four existing underflow tests using coalesce(nullif(...), 0) to expose incorrect values when they fail.

  • Tom Lanesaw the final versionLLM analysis, 100% sureReported the buildfarm failure in #11, investigated the compiler dependency in #13, and judged the attached fix plausible by inspection in #15.
Fix corner-case errors and loss of precision in numeric_power().
31 Jul 2021Dean Rasheedmaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1REL_14_STABLE14beta3REL_13_STABLE13.4+4 more
LLM analysis, 100% suremodified before commitlight changesfrom patchset #100 of 1 reviewer saw the final version

Matches #10 except for commit-message edits and splitting sig_digits = Max(rscale + (int) val, 0) into two equivalent assignments in src/backend/utils/adt/numeric.c; regression tests are unchanged.

  • Yugo Nagatasaw an earlier versionLLM analysis, 92% sureReported successful compilation and tests in #6 and accepted the revised comments in #8, before #10 changed the internal precision calculation to use explicitly clamped significant digits.

Credits across 3 commits

Author
Dean RasheedLLM3
Committer
Dean Rasheed3

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