Fix check for whether a clauseless join has to be forced in the presence of
Tom Lane <tgl@sss.pgh.pa.us>
Fix check for whether a clauseless join has to be forced in the presence of outer joins. Originally it was only looking for overlap of the righthand side of a left join, but we have to do it on the lefthand side too. Per example from Jean-Pierre Pelletier.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/optimizer/geqo/geqo_eval.c | modified | +13 −7 |
| src/backend/optimizer/path/joinrels.c | modified | +12 −4 |