to_date/to_timestamp "Y,YYY" accepts out-of-range values

Edit
ID 7416
Title to_date/to_timestamp "Y,YYY" accepts out-of-range values
CI (CFBot) Summary
Stats (from CFBot) Patch count: 1, First patch: +43−5, All patches: +43−5
Tags Bugfix
Created 2026-10-08 11:37:50
Last modified 2026-10-08 11:37:50 (1 hour ago)
Latest email 2026-07-31 11:03:00 (2 months ago)
Status
PG20-3 (2026-11-01 – 2026-11-30): Needs review
Target version
Authors Andrey Rachitskiy (a.rachitskiy)
Reviewers Become reviewer
Committer
Links
Emails
BUG #19590: to_date/to_timestamp "Y,YYY" accepts out-of-range values
First at 2026-07-31 05:57:01 by PG Bug reporting form <noreply at postgresql.org>
Latest at 2026-07-31 11:03:00 by Andrey Rachitskiy <pl0h0yp1 at gmail.com>
Latest attachment (0001-Reject-out-of-range-millennia-in-Y-YYY-parsing.patch) at 2026-07-31 11:03:00 from Andrey Rachitskiy <pl0h0yp1 at gmail.com>
    Attachment (0001-Reject-out-of-range-millennia-in-Y-YYY-parsing.patch) at 2026-07-31 11:03:00 from Andrey Rachitskiy <pl0h0yp1 at gmail.com> (Patch: Yes)
History
When Who What
2026-10-08 11:37:50 Andrey Rachitskiy (a.rachitskiy) Attached mail thread 19590-991c467c2a601be0@postgresql.org
2026-10-08 11:37:50 Andrey Rachitskiy (a.rachitskiy) Created patch record
Edit