Amit Kapila <amit.kapila16@gmail.com> writes:
> On Thu, Jun 16, 2016 at 11:49 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> But you need to include <limits.h> to use INT_MAX ...
> I wonder why it has not given me any compilation error/warning. I have
> tried it on both Windows and CentOS, before sending the patch.
Some platforms seem to make it available from other headers too.
But AFAIK, POSIX only requires <limits.h> to provide it.
regards, tom lane