Re: BUG #8361: 9.3~beta2-2: Wrong `interval' format with aggregate functions.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #8361: 9.3~beta2-2: Wrong `interval' format with aggregate functions.
Дата
Msg-id 11418.1375589330@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #8361: 9.3~beta2-2: Wrong `interval' format with aggregate functions.  (jbglaw@lug-owl.de)
Список pgsql-bugs
jbglaw@lug-owl.de writes:
> I just found intervals that are shown with more than 24 hours in the `hours'
> field.

This is not erroneous.  "24 hours" is not necessarily equivalent to "1
day", so the interval type doesn't automatically transpose one to the
other.  If you want that sort of conversion, see the justify_days(),
justify_hours(), and justify_interval() functions.

            regards, tom lane

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

Предыдущее
От: jbglaw@lug-owl.de
Дата:
Сообщение: BUG #8361: 9.3~beta2-2: Wrong `interval' format with aggregate functions.
Следующее
От: mnl.post@gmail.com
Дата:
Сообщение: BUG #8363: checksum verification fails with StackBuilder