Why postgres show two different format for same interval value?
问题 I was helping with this question trying to change the format for the interval. from '01 day 22:10:37' to '46:10:37' I give a solution with string manipulation. But then I found postgres can show the same interval on two different format. SELECT '2016-01-27 08:51:02'::timestamp - '2016-01-25 10:40:25'::timestamp end_date, '46:10:37'::interval interval_date; Funny thing. There is a function doing the inverse process justify_hours('46:10:37'::interval) --> '1 day 22:10:37' So I wondering if