Re: seg regression failures - Mailing list pgsql-patches

From Teodor Sigaev
Subject Re: seg regression failures
Date
Msg-id 4603A8AE.20802@sigaev.ru
Whole thread Raw
In response to seg regression failures  (Magnus Hagander <magnus@hagander.net>)
Responses Re: seg regression failures
List pgsql-patches
> Anybody see a smoking gun? I don't really know what seg is supposed to be
> doing, so I don't know where to start.

As crazy idea only: try to modify seg_overlap to
bool
seg_overlap(SEG * a, SEG * b)
{
     return (
             ((a->upper >= b->upper) && (a->lower <= b->upper))
             ||
             ((b->upper >= a->upper) && (b->lower <= a->upper))
         ) ? true : false;
}


--
Teodor Sigaev                                   E-mail: teodor@sigaev.ru
                                                    WWW: http://www.sigaev.ru/

pgsql-patches by date:

Previous
From: Magnus Hagander
Date:
Subject: seg regression failures
Next
From: Magnus Hagander
Date:
Subject: Re: seg regression failures