On 09.05.23 05:13, Richard Guo wrote: > Yeah, maybe this is the reason I failed to devise a query that shows any > performance gain. I tried with a query which makes the 'all_pathkeys' > in sort_inner_and_outer being length of 500 and still cannot see any > notable performance improvements gained by list_copy_move_nth_to_head. > Maybe the cost of other parts of planning swamps the performance gain > here? Now I agree that maybe 0002 is not worthwhile to do.
I have committed patch 0001. Since you have withdrawn 0002, this closes the commit fest item.