On Fri, Mar 23, 2007 at 01:15:10PM +0300, Teodor Sigaev wrote:
> >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;
> }

Nope, no difference.

//Magnus

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

                http://www.postgresql.org/about/donate

Reply via email to