On Thu, Dec 3, 2015 at 2:51 PM, Tom Lane <t...@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.
Fwiw the builtins offer a carrot as well. They promise to use architecture features like arithmetic status flags which can be faster than explicit comparisons and also avoid extra branches that can mess up cache and branch prediction. I was proposing to implement wrappers around them that do the checks manually if they're not present. -- greg -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers