Fix planner to do the right thing when a degenerate outer join (one whose

Tom Lane <tgl@sss.pgh.pa.us>

Commit: f18c57fdf1dd255cc26c4b6b3d6716c8a54ab890
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-12-12T21:31:02Z
Releases: 8.3.0
Fix planner to do the right thing when a degenerate outer join (one whose
joinclause doesn't use any outer-side vars) requires a "bushy" plan to be
created.  The normal heuristic to avoid joins with no joinclause has to be
overridden in that case.  Problem is new in 8.2; before that we forced the
outer join order anyway.  Per example from Teodor.

Files