Re: BUG #5592: list of integer undefined behaviors

From: John Regehr <regehr(at)cs(dot)utah(dot)edu>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Greg Stark <gsstark(at)mit(dot)edu>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #5592: list of integer undefined behaviors
Date: 2010-08-03 21:31:00
Message-ID: 4C588A94.2040102@cs.utah.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

> Just to follow up: all the other ones seem to be non-problems.

Would you folks be willing to specify which arithmetic operations are
considered to be safe in the case of overflow? Something simple like an
"INTEGER_OVERFLOW_OK" comment at the end of the line of code containing
the operation would suffice. This would let me automatically filter out
error messages on these lines of code in the future.

John Regehr

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2010-08-03 21:43:24 Re: BUG #5592: list of integer undefined behaviors
Previous Message Tom Lane 2010-08-03 15:35:01 Re: BUG #5595: Documentation is not installs from VPATH build.