Re: inner join removal - Mailing list pgsql-hackers

From Josh Berkus
Subject Re: inner join removal
Date
Msg-id 4C36220B.5030403@agliodbs.com
Whole thread Raw
In response to Re: inner join removal  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
I think it might work out better if you ask "what
> additional conditions are needed in order to prove that this inner join
> can commute with this left join", and then work at being able to prove
> that.  (It's entirely likely that the planner isn't currently gathering
> the right information for solving that problem.)

I also see this falling into a whole class of issues where the planner
could utilize the existance of FKs to plan queries better.  That might
be a better first step.

--                                  -- Josh Berkus                                    PostgreSQL Experts Inc.
                        http://www.pgexperts.com
 


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: inner join removal
Next
From: Robert Haas
Date:
Subject: Re: inner join removal