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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Provide overflow safe integer math inline functions.
Дата
Msg-id 3357.1513526629@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Provide overflow safe integer math inline functions.  (Michael Paquier <michael.paquier@gmail.com>)
Ответы Re: pgsql: Provide overflow safe integer math inline functions.
Re: pgsql: Provide overflow safe integer math inline functions.
Список pgsql-committers
Michael Paquier <michael.paquier@gmail.com> writes:
> ... Please note that if you added
> a volatile cast to "result" as well, then compilation was able to
> complete and regression tests passed...

Yeah, that squares with my analysis: the problem with the existing test
is that the compiler is throwing away the function call because its
output is unused.

If I haven't seen something from Andres shortly, I'll push a fix.

            regards, tom lane


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