Fix confusion in comments about generate_gather_paths
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 23 Feb 2021 23:04:47 +0000 (20:04 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Tue, 23 Feb 2021 23:05:15 +0000 (20:05 -0300)
commit5a65eacfdc69ee8c9d3ed92d838bc53628fbb7c6
tree36f5108919ac936e5f902dc422238ae9e9c2d470
parent8deb6b38dc4c7a7fd4719ee45e4b00d62b27dffe
Fix confusion in comments about generate_gather_paths

d2d8a229bc58 introduced a new function generate_useful_gather_paths to
be used as a replacement for generate_gather_paths, but forgot to update
a couple of places that referenced the older function.

This is possibly not 100% complete (ref. create_ordered_paths), but it's
better than not changing anything.

Author: "Hou, Zhijie" <houzj.fnst@cn.fujitsu.com>
Reviewed-by: Tomas Vondra <tomas.vondra@enterprisedb.com>
Discussion: http://postgr.es/m/4ce1d5116fe746a699a6d29858c6a39a@G08CNEXMBPEKD05.g08.fujitsu.local
src/backend/optimizer/path/allpaths.c
src/backend/optimizer/plan/planner.c