Re: On disable_cost - Mailing list pgsql-hackers

From Richard Guo
Subject Re: On disable_cost
Date
Msg-id CAMbWs4_3V+VOt8wus-e37Rt3gmhPVj0OFHYkei+XLpdHmeWNng@mail.gmail.com
Whole thread Raw
In response to Re: On disable_cost  (Richard Guo <guofenglinux@gmail.com>)
Responses Re: On disable_cost
List pgsql-hackers
On Fri, Sep 6, 2024 at 5:27 PM Richard Guo <guofenglinux@gmail.com> wrote:
> On Fri, Sep 6, 2024 at 5:00 PM Alexander Lakhin <exclusion@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



pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: Typos in the code and README
Next
From: Heikki Linnakangas
Date:
Subject: Re: Refactoring postmaster's code to cleanup after child exit