Re: PATCH: generate fractional cheapest paths in generate_orderedappend_path - Mailing list pgsql-hackers

From Tomas Vondra
Subject Re: PATCH: generate fractional cheapest paths in generate_orderedappend_path
Date
Msg-id a4725936-8e2c-91e7-8b81-e27c961a763e@enterprisedb.com
Whole thread Raw
In response to Re: PATCH: generate fractional cheapest paths in generate_orderedappend_path  (Zhihong Yu <zyu@yugabyte.com>)
Responses Re: PATCH: generate fractional cheapest paths in generate_orderedappend_path
List pgsql-hackers
On 6/3/21 10:52 PM, Zhihong Yu wrote:
> ...
> 
> Sent a bit too soon.
> 
> The above function still exists.
> But startup_new_fractional was nowhere to be found.

Actually, there are two comments

    /* XXX maybe we should have startup_new_fractional? */

in the patch I posted - I completely forgot about that. But I think
that's a typo, I think - it should be

    /* XXX maybe we should have startup_neq_fractional? */

and the new flag would work similarly to startup_neq_total, i.e. it's
pointless to add paths where startup == fractional cost.

At least I think that was the idea when I wrote the patch, it way too
long ago.


regards

-- 
Tomas Vondra
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Support for NSS as a libpq TLS backend
Next
From: Daniel Gustafsson
Date:
Subject: Re: Support for NSS as a libpq TLS backend