Alexander Kuzmenkov <a.kuzmen...@postgrespro.ru> writes: > In create_mergejoin_plan: > * implied inner ordering is then "ORDER BY x, y, x", but the pathkey > * drops the second sort by x as redundant, and this code must cope. > -- should this read "the pathkey machinery drops"?
I changed that and improved some other comments, and pushed it. Thanks for reviewing! regards, tom lane