Re: Infinite Interval - Mailing list pgsql-hackers

From Joseph Koshakow
Subject Re: Infinite Interval
Date
Msg-id CAAvxfHdd2ASFmGCV4XtFDC97ij9LiPY2nigOV62hqzx2MD2-Lg@mail.gmail.com
Whole thread Raw
In response to Re: Infinite Interval  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Infinite Interval
List pgsql-hackers


On Sat, Jul 8, 2023 at 1:50 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:

>> Ashutosh Bapat <ashutosh.bapat.oss@gmail.com> writes:
>> Fixed assertion in time_mi_time(). It needed to assert that the result
>> is FINITE but it was doing the other way round and that triggered some
>> failures in cfbot.

> It's still not passing in the cfbot, at least not on any non-Linux
> platforms.  I believe the reason is that the patch thinks isinf()
> delivers a three-way result, but per POSIX you can only expect
> zero or nonzero (ie, finite or not).

That looks right to me. I've updated the patch to fix this issue.

Thanks,
Joe Koshakow
Attachment

pgsql-hackers by date:

Previous
From: Joseph Koshakow
Date:
Subject: Re: Preventing non-superusers from altering session authorization
Next
From: Joseph Koshakow
Date:
Subject: Re: Infinite Interval