On Fri, Sep 6, 2024 at 5:27 PM Richard Guo <guofengli...@gmail.com> wrote: > On Fri, Sep 6, 2024 at 5:00 PM Alexander Lakhin <exclus...@gmail.com> wrote: > > static void > > label_sort_with_costsize(PlannerInfo *root, Sort *plan, double limit_tuples)
> (I'm a little surprised that this does not cause any plan diffs in the > regression tests.) Ah I see. label_sort_with_costsize is only used to label the Sort node nicely for EXPLAIN, and usually we do not display the cost numbers in regression tests. Thanks Richard