Date-time extraneous fields with reserved keywords

From: Joseph Koshakow <koshy44(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Date-time extraneous fields with reserved keywords
Date: 2022-12-11 22:30:09
Message-ID: CAAvxfHdm8wwXwG_FFRaJ1nTHiMWb7YXS2YKCzCt8Q0a2ZoMcHg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Attachment Content-Type Size
v1-0001-Handle-extraneous-fields-in-date-time-input.patch text/x-patch 4.7 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Smith 2022-12-11 22:46:52 Re: PGDOCS - Logical replication GUCs - added some xrefs
Previous Message Peter Smith 2022-12-11 22:18:07 Re: static assert cleanup