Skip to content

Commit 1f7b896

Browse files
committed
Fix typo in add_paths_to_append_rel()
The comment should have been referring to the number of workers, not the number of paths. Author: Ashutosh Bapat Discussion: https://postgr.es/m/CAFjFpRcbp4702jcp387PExt3fNCt62QJN8++DQGwBhsW6wRHWA@mail.gmail.com
1 parent 20ba33d commit 1f7b896

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/optimizer/path/allpaths.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1574,7 +1574,7 @@ add_paths_to_append_rel(PlannerInfo *root, RelOptInfo *rel,
15741574

15751575
/*
15761576
* If the use of parallel append is permitted, always request at least
1577-
* log2(# of children) paths. We assume it can be useful to have
1577+
* log2(# of children) workers. We assume it can be useful to have
15781578
* extra workers in this case because they will be spread out across
15791579
* the children. The precise formula is just a guess, but we don't
15801580
* want to end up with a radically different answer for a table with N

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy