BUG #4878: function age() give a wrong interval

Поиск
Список
Период
Сортировка
От
Тема BUG #4878: function age() give a wrong interval
Дата
Msg-id 200906250928.n5P9SoZg015973@wwwmaster.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #4878: function age() give a wrong interval  (Frank Heikens <frankheikens@mac.com>)
Список pgsql-bugs
The following bug has been logged online:

Bug reference:      4878
Logged by:
Email address:      pamelant@companeo.com
PostgreSQL version: 8.2.4, 8.3.6
Operating system:   linux
Description:        function age() give a wrong interval
Details:

age() report a wrong interval in some case

example

intervall between the 2 dates is 1008 hours

select age('2009-06-23 18:36:05.064066+02' ,'"2009-05-12 18:36:05.064066
+02"') > interval '1000 hours';

result is false instead of true.
There is a 24 hours error in the age() results

regards

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: psql: FATAL: the database system is in recovery mode
Следующее
От: Frank Heikens
Дата:
Сообщение: Re: BUG #4878: function age() give a wrong interval