Date-time extraneous fields with reserved keywords
Joseph Koshakow <koshy44@gmail.com>
From: Joseph Koshakow <koshy44@gmail.com>
To: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-12-11T22:30:09Z
Lists: pgsql-hackers
Attachments
- v1-0001-Handle-extraneous-fields-in-date-time-input.patch (text/x-patch) patch v1-0001
Hi all, Attached is a patch to fix another parsing error for date-time types that allow extraneous fields with certain reserved keywords. For example both `date '1995-08-06 epoch'` and `date 'today epoch'` were considered valid dates that both resolve to 1970-01-01. - Joe Koshakow
Commits
-
Reject combining "epoch" and "infinity" with other datetime fields.
- bcc704b52490 16.0 landed