Luke Lonergan wrote:
> The problem is that the implied join predicate is not being
> propagated. This is definitely a planner deficiency.
IIRC only equality conditions are propagated and gt, lt, between aren't.
I seem to remember that the argument given was that the cost of
checking for the ability to propagate was too high for the frequency
when it ocurred.
Of course, what was true for code and machines of 5 years ago might not
be so today.
In response to
pgsql-performance by date
|Next:||From: H. Hall||Date: 2008-05-21 14:10:53|
|Subject: "Big O" notation for postgres?|
|Previous:||From: Luke Lonergan||Date: 2008-05-21 11:52:28|
|Subject: Re: Posible planner improvement?|
pgsql-hackers by date
|Next:||From: Nikhils||Date: 2008-05-21 13:20:02|
|Subject: Re: plpgsql: penalty due to double evaluation of parameters|
|Previous:||From: Tatsuo Ishii||Date: 2008-05-21 12:25:29|
|Subject: Re: WITH RECURSIVE patch V0.1|