Iliia Khaprov <i(dot)khaprov(at)gmail(dot)com> writes:
> The patch drops the ORDER BY of EXPR, MULTIEXPR and ROWCOMPARE
> sublinks in make_subplan, as simplify_EXISTS_query does for EXISTS.
Why is this worth spending development effort on? "One person
wasted a lot of time on a badly-written query" isn't a good
enough answer.
regards, tom lane