Re: Interval output bug in HAVE_INT64_TIMESTAMP

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Interval output bug in HAVE_INT64_TIMESTAMP
Дата
Msg-id 27156.1222955422@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Interval output bug in HAVE_INT64_TIMESTAMP  (Ron Mayer <rm_pg@cheapcomplexdevices.com>)
Ответы Re: Interval output bug in HAVE_INT64_TIMESTAMP  (Ron Mayer <rm_pg@cheapcomplexdevices.com>)
Список pgsql-hackers
Ron Mayer <rm_pg@cheapcomplexdevices.com> writes:
> Seems to me there's a bug in HEAD (and probably old branches
> as well) when compiled with HAVE_INT64_TIMESTAMP.  As shown below
> It sometimes shows things like "-6.-70 secs" where 8.3
> showed "-6.70 secs".

> I think the attached one-liner patch fixes this, as well as
> another roundoff regression between HEAD and 8.3.

Yeah, bug all the way back --- applied.

I don't much like the forced rounding to two digits here, but changing
that doesn't seem like material for back-patching.  Are you going to
fix that up while working on your other patches?
        regards, tom lane


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Block-level CRC checks
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Block-level CRC checks