Description
- for pg feature parity
- for consistency with other types and other interval parser
ostgres=# select interval E'2-2\t' year to month; interval ---------------- 2 years 2 mons (1 row) postgres=# select interval E'2-2\t' year to month; interval ---------------- 2 years 2 mons (1 row) postgres=# select interval E'2-\t2\t' year to month; ERROR: invalid input syntax for type interval: "2- 2 " LINE 1: select interval E'2-\t2\t' year to month; ^ postgres=# select interval '2 00:00:01' day to second; interval ----------------- 2 days 00:00:01 (1 row) postgres=# select interval '- 2 00:00:01' day to second; interval ------------------- -2 days +00:00:01 (1 row)
Attachments
Issue Links
- links to