Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.1.0
-
None
-
None
Description
Should be supported the following synonyms:
["MILLENNIUM", ("MILLENNIA", "MIL", "MILS"), "CENTURY", ("CENTURIES", "C", "CENT"), "DECADE", ("DECADES", "DEC", "DECS"), "YEAR", ("Y", "YEARS", "YR", "YRS"), "QUARTER", ("QTR"), "MONTH", ("MON", "MONS", "MONTHS"), "DAY", ("D", "DAYS"), "HOUR", ("H", "HOURS", "HR", "HRS"), "MINUTE", ("M", "MIN", "MINS", "MINUTES"), "SECOND", ("S", "SEC", "SECONDS", "SECS"), "MILLISECONDS", ("MSEC", "MSECS", "MILLISECON", "MSECONDS", "MS"), "MICROSECONDS", ("USEC", "USECS", "USECONDS", "MICROSECON", "US"), "EPOCH"]
For example:
maxim=# select '100000000y 10mon -1000000000d -100000h -10min -10.000001s ago'::interval;
interval
----------------------------------------------------------------
-100000000 years -10 mons +1000000000 days 100000:10:10.000001
(1 row)