Details
-
Sub-task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.1.0
-
None
-
None
Description
In PostgreSQL, Quantities of days, hours, minutes, and seconds can be specified without explicit unit markings. For example, '1 12:59:10' is read the same as '1 day 12 hours 59 min 10 sec'. For example:
maxim=# select interval '1 12:59:10';
interval
----------------
1 day 12:59:10
(1 row)
It should allow to specify the sign:
maxim=# SELECT interval '1 +2:03:04' minute to second; interval ---------------- 1 day 02:03:04 maxim=# SELECT interval '1 -2:03:04' minute to second; interval ----------------- 1 day -02:03:04