8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 213c959 commit be98a55Copy full SHA for be98a55
src/backend/optimizer/path/allpaths.c
@@ -2180,9 +2180,9 @@ set_dummy_rel_pathlist(RelOptInfo *rel)
2180
2181
/*
2182
* We set the cheapest-path fields immediately, just in case they were
2183
- * pointing at some discarded path. This is redundant when we're called
2184
- * from set_rel_size(), but not when called from elsewhere, and doing it
2185
- * twice is harmless anyway.
+ * pointing at some discarded path. This is redundant in current usage
+ * because set_rel_pathlist will do it later, but it's cheap so we keep it
+ * for safety and consistency with mark_dummy_rel.
2186
*/
2187
set_cheapest(rel);
2188
}
0 commit comments