Shouldn't cost_append() also scale the partial path's cost?

From: Antonin Houska <ah(at)cybertec(dot)at>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Shouldn't cost_append() also scale the partial path's cost?
Date: 2023-06-14 12:36:54
Message-ID: 13018.1686746214@antos
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Like in cost_seqscan(), I'd expect the subpath cost to be divided among
parallel workers. The patch below shows what I mean. Am I right?

--
Antonin Houska
Web: https://www.cybertec-postgresql.com

Attachment Content-Type Size
cost_append_scale_subpath_cost.diff text/x-diff 1.7 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Joel Jacobson 2023-06-14 12:57:07 Re: Do we want a hashset type?
Previous Message David Steele 2023-06-14 12:34:22 Re: Views no longer in rangeTabls?