You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Adjust join_search_one_level's handling of clauseless joins.
For an initial relation that lacks any join clauses (that is, it has to becartesian-product-joined to the rest of the query), we considered onlycartesian joins with initial rels appearing later in the initial-relationslist. This creates an undesirable dependency on FROM-list order. We wouldnever fail to find a plan, but perhaps we might not find the best availableplan. Noted while discussing the logic with Amit Kapila.Improve the comments a bit in this area, too.Arguably this is a bug fix, but given the lack of complaints from thefield I'll refrain from back-patching.