Re: BUG #1609: Bug in interval datatype for 64 Bit timestamps

Поиск
Список
Период
Сортировка
От Oliver Siegmar
Тема Re: BUG #1609: Bug in interval datatype for 64 Bit timestamps
Дата
Msg-id 200504210910.02696.oliver@siegmar.net
обсуждение исходный текст
Ответ на BUG #1609: Bug in interval datatype for 64 Bit timestamps  ("Oliver Siegmar" <oliver@siegmar.net>)
Ответы Re: BUG #1609: Bug in interval datatype for 64 Bit timestamps
Список pgsql-bugs
> I've applied this patch.

It removed the bug, but also added a new one (hopefully only one ;-))


...now with ISO DateStyle -


select '2005 years 4 mons 20 days 15 hours 57 mins 12.1 secs ago'::interval;


Before your patch:

                 interval
-------------------------------------------
 -2005 years -4 mons -20 days -15:57:12.10
(1 row)



after applying your patch:

                     interval
---------------------------------------------------
 -2005 years -4 mons -20 days -15:57:12.1000000001
(1 row)




Oliver

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