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
Fix an old corner-case error in match_unsorted_outer(): don't consider
the cheapest-total inner path as a new candidate while truncating thesort key list, if it already matched the full sort key list. This istoo much of a corner case to be worth back-patching, since it's unusualfor the cheapest total path to be sorted, and anyway no real harm isdone (except in JOIN_SEMI/ANTI cases where cost_mergejoin is a bitbroken at the moment). But it wasn't behaving as intended, so fix it.Noted while examining a test case from Kevin Grittner. This error doesn'texplain his issue, but it does explain why "set enable_seqscan = off"seemed to reproduce it for me.