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

Commit c82e13a

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 f73ebd7 commit c82e13a

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

0 commit comments

Comments
 (0)