On 01/13/11 1:08 PM, Ben Chobot wrote:
> On Jan 13, 2011, at 11:03 AM, Tom Lane wrote:
>
>> If you don't care about that, you can use justify_hours (I think that's
>> the right function) to smash them to the same thing.
> I use justify_hours, and I still get entries like '1 day 35:31:10' intermixed with the entires I'd expect like '2 days 03:12:40'.
test=> select justify_hours(interval '1 day 35:31:10');
justify_hours
-----------------
2 days 11:31:10
(1 row)
works here. I believe this is an 8.3.9 system (overdue for upgrades)
that I happened to test on.