May 2025

1 commit
Tighten parsing of datetime input.
28 May 2025Tom Lanemaster18beta2REL_19_STABLE18beta2REL_18_STABLE18beta2
LLM analysis, 100% suremodified before commitmoderate changesfrom patchset #10 of 1 reviewer saw the final version

The commit retains the ParseFraction guard, ParseFractionalSecond reuse, and both regression tests from #1. In src/backend/utils/adt/datetime.c, it replaces the post-fraction digits-only check with an entry check allowing digits and decimal points, preserves the original else-if structure, and expands the explanation e5d64fd654.

  • Robert Haassaw an earlier versionLLM analysis, 96% sureRobert endorsed rejecting nonsensical datetime input and limiting the change to HEAD #2, but the committed version subsequently changed the placement and form of validation.

Credits across 1 commit

Author
Tom Lane1
Reported by
Evgeniy Gorbanev1
Committer
Tom Lane1