diff options
author | Stephen Frost <sfrost@snowman.net> | 2018-03-14 13:51:14 -0400 |
---|---|---|
committer | Stephen Frost <sfrost@snowman.net> | 2018-03-14 13:51:14 -0400 |
commit | 1f7b8967ef192fad75f72dd5eb12b188647b3670 (patch) | |
tree | 8fe1590bfe17242f3a81516e81c5c061f8302c7f | |
parent | 20ba33dadedc46bad2eba5ca3c42bc500c36ade0 (diff) | |
download | postgresql-1f7b8967ef192fad75f72dd5eb12b188647b3670.tar.gz postgresql-1f7b8967ef192fad75f72dd5eb12b188647b3670.zip |
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
-rw-r--r-- | src/backend/optimizer/path/allpaths.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/optimizer/path/allpaths.c b/src/backend/optimizer/path/allpaths.c index ea4e683abb0..8735e29807d 100644 --- a/src/backend/optimizer/path/allpaths.c +++ b/src/backend/optimizer/path/allpaths.c @@ -1574,7 +1574,7 @@ add_paths_to_append_rel(PlannerInfo *root, RelOptInfo *rel, /* * If the use of parallel append is permitted, always request at least - * log2(# of children) paths. We assume it can be useful to have + * log2(# of children) workers. We assume it can be useful to have * extra workers in this case because they will be spread out across * the children. The precise formula is just a guess, but we don't * want to end up with a radically different answer for a table with N |