>>>>> "Tom" == Tom Lane <tgl@sss.pgh.pa.us> writes:
>> Of course there is one good solution, which is to have query_planner>> take a set of acceptable output sort orders
ratherthan just a>> single one.
>> How wild an idea is this?
Tom> It's been on my to-do list for years, see e.g.Tom> https://postgr.es/m/5702.1480896563@sss.pgh.pa.us
Tom> The idea wouldn't have been very helpful before the upper plannerTom> got path-ified, but now the only stumbling
blockis a shortage ofTom> round tuits.
I'll take a shot at it, then.
--
Andrew (irc:RhodiumToad)