Skip site navigation (1) Skip section navigation (2)

Re: seg regression failures

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Teodor Sigaev <teodor(at)sigaev(dot)ru>
Cc: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: seg regression failures
Date: 2007-03-23 11:38:37
Message-ID: 20070323113837.GA14897@svr2.hagander.net (view raw or flat)
Thread:
Lists: pgsql-patches
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

In response to

pgsql-patches by date

Next:From: Gregory StarkDate: 2007-03-23 12:06:51
Subject: Re: LIMIT/SORT optimization
Previous:From: Teodor SigaevDate: 2007-03-23 10:15:10
Subject: Re: seg regression failures

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group