Re: Date-time extraneous fields with reserved keywords

Joseph Koshakow <koshy44@gmail.com>

From: Joseph Koshakow <koshy44@gmail.com>
To: Keisuke Kuroda <kuroda.keisuke@nttcom.co.jp>
Cc: pgsql-hackers@lists.postgresql.org
Date: 2023-03-04T17:29:09Z
Lists: pgsql-hackers

Attachments

Attached is the described patch. I have two notes
after implementing it:
  - It feels like a bit of an abstraction break to
  set tmask without actually setting any fields in
  tm.
  - I'm not sure if we should hard code in those
  three specific reserved keywords or set tmask
  in the default case.

Any thoughts?

- Joe Koshakow

Commits

  1. Reject combining "epoch" and "infinity" with other datetime fields.