diff options
author | Bruce Momjian <bruce@momjian.us> | 2023-09-29 14:25:59 -0400 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2023-09-29 14:25:59 -0400 |
commit | 6d0c39a29309e5d7a6398e213190ae4f031061ab (patch) | |
tree | a48099c44283e8f91a6f91a5182881aec250d7ec /src | |
parent | 06843df4abc5a0c24e4bd154a8a1327e074fa3ae (diff) | |
download | postgresql-6d0c39a29309e5d7a6398e213190ae4f031061ab.tar.gz postgresql-6d0c39a29309e5d7a6398e213190ae4f031061ab.zip |
C comment: add optimizer function reference
Reported-by: James Coleman
Discussion: https://postgr.es/m/CAAaqYe9F6uoMhAr+8rMLwvGzaKaSknPA0Wi3Ehtv8pbSYmJq-Q@mail.gmail.com
Backpatch-through: master
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/optimizer/path/allpaths.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/backend/optimizer/path/allpaths.c b/src/backend/optimizer/path/allpaths.c index f75e0f99cb9..b11b9399891 100644 --- a/src/backend/optimizer/path/allpaths.c +++ b/src/backend/optimizer/path/allpaths.c @@ -3473,7 +3473,8 @@ standard_join_search(PlannerInfo *root, int levels_needed, List *initial_rels) /* * Except for the topmost scan/join rel, consider gathering * partial paths. We'll do the same for the topmost scan/join rel - * once we know the final targetlist (see grouping_planner). + * once we know the final targetlist (see grouping_planner's and + * its call to apply_scanjoin_target_to_paths). */ if (!bms_equal(rel->relids, root->all_query_rels)) generate_useful_gather_paths(root, rel, false); |