Content-Length: 255675 | pFad | http://github.com/postgrespro/postgres/commit/b743a8b313d4ab8c216a22d9898bf9b377ae0167

D0 Fix obsolete comment in set_rel_size(). · postgrespro/postgres@b743a8b · GitHub
Skip to content

Commit b743a8b

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 d3f5d28 commit b743a8b

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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/b743a8b313d4ab8c216a22d9898bf9b377ae0167

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy