Re: BUG #3431: age() gets the days wrong

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #3431: age() gets the days wrong
Дата
Msg-id 6662.1183742833@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #3431: age() gets the days wrong  ("Pelle Johansson" <pelle@morth.org>)
Список pgsql-bugs
"Pelle Johansson" <pelle@morth.org> writes:
> The age() function seem to work by first counting months until less than a
> month remains to to the second argument, then counting days left. This
> doesn't give the correct result, as shown by this example:

age() isn't intended to give the same result as minus, so I'm not
convinced that this behavior is wrong.  I'm more worried about what
applications we might break by changing it --- age() has always worked
the way it does now.

            regards, tom lane

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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: Re: BUG #3427: Autovacuum crashed server
Следующее
От: Rainer Bauer
Дата:
Сообщение: Re: BUG #3427: Autovacuum crashed server