Re: [HACKERS] Interval aggregate regression failure

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Interval aggregate regression failure
Дата
Msg-id 200608312005.k7VK5hk03788@momjian.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Interval aggregate regression failure  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: [HACKERS] Interval aggregate regression failure  (Michael Glaesemann <grzm@seespotcode.net>)
Список pgsql-patches
Tom Lane wrote:
> Bruce Momjian <bruce@momjian.us> writes:
> > Well, the patch only multiplies by 30, so the interval would have to
> > span +5 million years to overflow.  I don't see any reason to add
> > rounding until we get an actual query that needs it
>
> Have you tried your patch against the various cases that have been
> discussed in the past?  In particular there were several distinct
> examples of this behavior posted at the beginning of the thread, and
> I'd not assume that a fix for one handles them all.

Yes, it fixes all posted examples, except one that displays 23:60.  I
cannot reproduce that failure from Powerpc so am waiting for Michael to
test it.

> BTW, while trolling for examples I came across this:
> http://archives.postgresql.org/pgsql-bugs/2005-10/msg00307.php
> pointing out some issues that still haven't been addressed.

Yea, that is a bunch of issues.  They are already on the TODO list.

--
  Bruce Momjian   bruce@momjian.us
  EnterpriseDB    http://www.enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] Interval aggregate regression failure
Следующее
От: Michael Glaesemann
Дата:
Сообщение: Re: [HACKERS] Interval aggregate regression failure