Apr 2022

3 commits
Fix portability issues in datetime parsing.
3 Apr 2022Tom Lanemaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
LLM analysis, 99% suremodified before commitmoderate changesfrom patchset #41

The datetime.c and interval regression changes match #41; the commit additionally changes timestamp_to_char and timestamptz_to_char in formatting.c to initialize weekday/year-day fields before COPY_tm, addressing a Coverity complaint.

Fix overflow hazards in interval input and output conversions.
2 Apr 2022Tom Lanemaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
LLM analysis, 100% suremodified before commitlight changesfrom patchset #291 of 2 reviewers saw the final version

Matches #29 except for redundant block removal in interval_trunc and interval_part_common in timestamp.c and whitespace changes. The commit explicitly credits Joe Koshakow, whose original submission is #1, with Tom's editorial changes.

  • Andres Freundsaw an earlier versionLLM analysis, 99% sureAndres requested boolean helper returns in #5 and explained the distinction from DTERR codes in #8, which #10 adopted before substantial structural rework.
  • Tom Lanesaw the final versioncommittercommitted the patch
Add a couple more tests for interval input decoding.
2 Apr 2022Tom Lanemaster15beta1REL_19_STABLE15beta1REL_18_STABLE15beta1REL_17_STABLE15beta1REL_16_STABLE15beta1REL_15_STABLE15beta1
LLM analysis, 100% surewritten from the discussion, no matching patch

Implements Tom's proposal in #24 to record historical sign-matching behavior before landing the overflow changes, adding four cases under each of two interval styles. No preceding attached patch contains these test hunks.

Credits across 3 commits

Author
Joseph KoshakowLLM1
Tom LaneLLM1
Reviewer
Tom Lanecommitter1
Committer
Tom Lane3

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