Re: In PG12, query with float calculations is slower than PG11

Поиск
Список
Период
Сортировка
От Emre Hasegeli
Тема Re: In PG12, query with float calculations is slower than PG11
Дата
Msg-id CAE2gYzwM6JfoSXthRrL1R2HXafLWXXd=yLVwBq-6p4jk5Htb7A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: In PG12, query with float calculations is slower than PG11  (Andres Freund <andres@anarazel.de>)
Ответы Re: In PG12, query with float calculations is slower than PG11  (Emre Hasegeli <emre@hasegeli.com>)
Список pgsql-hackers
> > > For most places it'd probably end up being easier to read and to
> > > optimize if we just wrote them as
> > > if (unlikely(isinf(result)) && !isinf(arg))
> > >     float_overflow_error();
> > > and when needed added a
> > > else if (unlikely(result == 0) && arg1 != 0.0)
> > >     float_underflow_error();
> >
> > +1
>
> Cool. Emre, any chance you could write a patch along those lines?

Yes, I am happy to do.  It makes more sense to me too.



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: In PG12, query with float calculations is slower than PG11
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: Collation versioning