Re: Have I found an interval arithmetic bug?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Have I found an interval arithmetic bug?
Дата
Msg-id 20210412161842.GA22319@momjian.us
обсуждение исходный текст
Ответ на Re: Have I found an interval arithmetic bug?  (Zhihong Yu <zyu@yugabyte.com>)
Ответы Re: Have I found an interval arithmetic bug?
Список pgsql-hackers
On Sun, Apr 11, 2021 at 07:33:34PM -0700, Zhihong Yu wrote:
> Among previous examples given by Bryn, the following produces correct result
> based on Bruce's patch.
> 
> # select interval '-1.7 years 29.4 months';
>     interval
> ----------------
>  9 mons 12 days

Yes, that changed is caused by the rounding fixes, and not by the unit
pushdown adjustments.

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  If only the physical world exists, free will is an illusion.




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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: Contribution to PostgreSQL - please give an advice
Следующее
От: Tom Lane
Дата:
Сообщение: Re: PANIC: wrong buffer passed to visibilitymap_clear