Re: Inconsistent time interval formatting

Поиск
Список
Период
Сортировка
От John R Pierce
Тема Re: Inconsistent time interval formatting
Дата
Msg-id 4D2F6B5F.8080506@hogranch.com
обсуждение исходный текст
Ответ на Re: Inconsistent time interval formatting  (Ben Chobot <bench@silentmedia.com>)
Ответы Re: Inconsistent time interval formatting
Список pgsql-general
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
days03: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.



В списке pgsql-general по дате отправления:

Предыдущее
От: Ben Chobot
Дата:
Сообщение: Re: Inconsistent time interval formatting
Следующее
От: Nicklas Avén
Дата:
Сообщение: Re: Performance on multiple OR conditions inside ()