Re: AW: AW: Could turn on -O2 in AIX - Mailing list pgsql-hackers

From Tom Lane
Subject Re: AW: AW: Could turn on -O2 in AIX
Date
Msg-id 4596.974526336@sss.pgh.pa.us
Whole thread Raw
In response to Re: AW: AW: Could turn on -O2 in AIX  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
>> My solution would be to use INT_MIN for all ports, which has the advantage 
>> that the above problematic comparison can be converted to !=,
>> since no integer will be smaller than INT_MIN.

> I agree.  When I was looking at this code this morning, I was wondering
> what INT_MIN was supposed to represent anyway, if NOSTART_ABSTIME is
> INT_MIN + 1.  I think someone messed this up between 4.2 and Postgres95.

> Thomas, any objection to this plan?

I went ahead and committed this change, since Thomas hasn't weighed in
with an objection ...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: WAL fsync scheduling
Next
From: Bruce Momjian
Date:
Subject: Re: WAL fsync scheduling