Re: [RFC] Fix div/mul crash and more undefined behavior - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [RFC] Fix div/mul crash and more undefined behavior
Date
Msg-id 17897.1353282478@sss.pgh.pa.us
Whole thread Raw
In response to [RFC] Fix div/mul crash and more undefined behavior  (Xi Wang <xi.wang@gmail.com>)
Responses Re: [RFC] Fix div/mul crash and more undefined behavior  (Xi Wang <xi.wang@gmail.com>)
List pgsql-hackers
Xi Wang <xi.wang@gmail.com> writes:
> [ patch adding a bunch of explicit INT_MIN/MAX constants ]

I was against this style of coding before, and I still am.
For one thing, it's just about certain to introduce conflicts
against system headers.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Xi Wang
Date:
Subject: [RFC] Fix div/mul crash and more undefined behavior
Next
From: Fujii Masao
Date:
Subject: Re: 9.3 pg_archivecleanup broken?