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

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: pgsql: Provide overflow safe integer math inline functions.
Дата
Msg-id 20171218164006.hmyijjs2dgqfkhuh@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: pgsql: Provide overflow safe integer math inline functions.  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-committers
On 2017-12-17 11:03:49 -0500, Tom Lane wrote:
> 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.

Thanks! Was off for most of yesterday...

Greetings,

Andres Freund


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

Предыдущее
От: Magnus Hagander
Дата:
Сообщение: pgsql: Fix typo on comment
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Fix crashes on plans with multiple Gather (Merge) nodes.