Re: [RFC] overflow checks optimized away - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [RFC] overflow checks optimized away
Date
Msg-id 25025.1449162021@sss.pgh.pa.us
Whole thread Raw
In response to Re: [RFC] overflow checks optimized away  (Greg Stark <stark@mit.edu>)
List pgsql-hackers
Greg Stark <stark@mit.edu> writes:
> On Thu, Dec 3, 2015 at 2:51 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> I can't see us moving the compiler goalposts one inch for this.
>> "I'm going to break building on your compiler in order to work around
>> bugs in somebody else's compiler" isn't gonna fly.

> I was proposing to implement wrappers around them that do the checks
> manually if they're not present.

As long as there's a fallback for compilers without the builtins, fine.
I read your question as suggesting that you were thinking about not
providing a fallback ...
        regards, tom lane



pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: [RFC] overflow checks optimized away
Next
From: Pavel Stehule
Date:
Subject: Re: proposal: PL/Pythonu - function ereport