Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d3398d0

Browse files
committed
Fix obsolete comment in set_rel_size().
The cross-reference to set_append_rel_pathlist() was obsoleted by commit e2fa76d, which split what had been set_rel_pathlist() and child routines into two sets of functions. But I (tgl) evidently missed updating this comment. Back-patch to 9.2 to avoid unnecessary divergence among branches. Amit Langote
1 parent 438a062 commit d3398d0

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
@@ -234,7 +234,7 @@ set_rel_size(PlannerInfo *root, RelOptInfo *rel,
234234
* We proved we don't need to scan the rel via constraint exclusion,
235235
* so set up a single dummy path for it. Here we only check this for
236236
* regular baserels; if it's an otherrel, CE was already checked in
237-
* set_append_rel_pathlist().
237+
* set_append_rel_size().
238238
*
239239
* In this case, we go ahead and set up the relation's path right away
240240
* instead of leaving it for set_rel_pathlist to do. This is because

0 commit comments

Comments
 (0)