Re: pgsql: Provide overflow safe integer math inline functions. - Mailing list pgsql-committers

From Christoph Berg
Subject Re: pgsql: Provide overflow safe integer math inline functions.
Date
Msg-id 20171213101037.GA28753@msg.df7cb.de
Whole thread Raw
In response to pgsql: Provide overflow safe integer math inline functions.  (Andres Freund <andres@anarazel.de>)
Responses Re: pgsql: Provide overflow safe integer math inline functions.  (Robert Haas <robertmhaas@gmail.com>)
List 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 by date:

Previous
From: Andres Freund
Date:
Subject: pgsql: Add float.h include to int8.c, for isnan().
Next
From: Robert Haas
Date:
Subject: Re: pgsql: Provide overflow safe integer math inline functions.