Re: extend pgbench expressions with functions

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: extend pgbench expressions with functions
Дата
Msg-id CAB7nPqSwBvUh9=k2RS_msD+=M99-sPWAb4vr2x9hZqykbKr0YQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: extend pgbench expressions with functions  (Fabien COELHO <coelho@cri.ensmp.fr>)
Ответы Re: extend pgbench expressions with functions  (Fabien COELHO <coelho@cri.ensmp.fr>)
Список pgsql-hackers
On Fri, Jan 29, 2016 at 6:05 PM, Fabien COELHO <coelho@cri.ensmp.fr> wrote:
> (instead of < in my previous suggestion, if some processors return 0 on
> -INT64_MIN). Also, a comment is needed to explain why such a bizarre
> condition is used/needed for just the INT64_MIN case.

The last patch I sent has this bit:
+              /*
+               * Some machines throw a floating-point exception
+               * for INT64_MIN % -1, the correct answer being
+               * zero in any case.
+               */
How would you reformulate that à-la-Fabien?
--
Michael



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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Re: BUG #13685: Archiving while idle every archive_timeout with wal_level hot_standby
Следующее
От: Artur Zakirov
Дата:
Сообщение: Re: Mac OS: invalid byte sequence for encoding "UTF8"