Feb 2024

1 commit
Fix mis-rounding and overflow hazards in date_bin().
28 Feb 2024Tom Lanemaster17beta1REL_19_STABLE17beta1REL_18_STABLE17beta1REL_17_STABLE17beta1REL_16_STABLE16.3REL_15_STABLE15.7REL_14_STABLE14.12
LLM analysis, 100% suremodified before commitsignificant changesfrom patchset #61 of 2 reviewers saw the final version

The development-branch commit derives from #6, retaining both timestamp variants and their exact-boundary regression tests but replacing unsigned mapping with pg_*_s64_overflow checks and timestamp-range validation in src/backend/utils/adt/timestamp.c. Tom confirms this rewrite in #7; the regression suites now expect errors for overflow cases.

  • Daniel Gustafssonsaw an earlier versionLLM analysis, 99% sureDaniel requested a regression test in #2, which Moaaz supplied in #3, before the substantial arithmetic changes in #6 and the committed rewrite.
  • Tom Lanesaw the final versioncommittercommitted the patch

Credits across 1 commit

Author
Moaaz AssaliLLM1
Reviewer
Tom Lanecommitter1
Committer
Tom Lane1

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