Re: pgsql: Provide overflow safe integer math inline functions.

Поиск
Список
Период
Сортировка
От Christoph Berg
Тема Re: pgsql: Provide overflow safe integer math inline functions.
Дата
Msg-id 20171213101037.GA28753@msg.df7cb.de
обсуждение исходный текст
Ответ на pgsql: Provide overflow safe integer math inline functions.  (Andres Freund <andres@anarazel.de>)
Ответы Re: pgsql: Provide overflow safe integer math inline functions.  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-committers
Re: Andres Freund 2017-12-13 <E1eOvQF-00075r-Cy@gemulon.postgresql.org>
> Provide overflow safe integer math inline functions.

The new _overflow functions have buggy comments:

/*
 * If a - b overflows, return true, otherwise store the result of a + b into
 * *result.                                                         ^ there

Christoph


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

Предыдущее
От: Andres Freund
Дата:
Сообщение: pgsql: Add float.h include to int8.c, for isnan().
Следующее
От: Robert Haas
Дата:
Сообщение: Re: pgsql: Provide overflow safe integer math inline functions.