Interval precision busted?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Interval precision busted?
Дата
Msg-id 19671.1021327872@sss.pgh.pa.us
обсуждение исходный текст
Список pgsql-hackers
In current sources (compiled without --enable-integer-datetimes) I get

regression=# select interval(0)  '1 day 23:44:55.667677' ;      interval
-----------------------1 day 23:44:55.667677
(1 row)

I was expecting it to round off ... I think there's something wrong with
the arithmetic in AdjustIntervalForTypmod.
        regards, tom lane


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