aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-04-24 15:18:07 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2015-04-24 15:18:07 -0400
commit70d44dd9de2b781436ef1d55906614d241e02249 (patch)
tree3057ba8a595f4f7ab122d15b74096ce90b684c9c
parent61a553a09177c4f0a5570168e3b667eff87e354c (diff)
downloadpostgresql-70d44dd9de2b781436ef1d55906614d241e02249.tar.gz
postgresql-70d44dd9de2b781436ef1d55906614d241e02249.zip
Fix obsolete comment in set_rel_size().
The cross-reference to set_append_rel_pathlist() was obsoleted by commit e2fa76d80ba571d4de8992de6386536867250474, 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
-rw-r--r--src/backend/optimizer/path/allpaths.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/optimizer/path/allpaths.c b/src/backend/optimizer/path/allpaths.c
index 58d78e62eca..c4b0c79fb17 100644
--- a/src/backend/optimizer/path/allpaths.c
+++ b/src/backend/optimizer/path/allpaths.c
@@ -241,7 +241,7 @@ set_rel_size(PlannerInfo *root, RelOptInfo *rel,
* We proved we don't need to scan the rel via constraint exclusion,
* so set up a single dummy path for it. Here we only check this for
* regular baserels; if it's an otherrel, CE was already checked in
- * set_append_rel_pathlist().
+ * set_append_rel_size().
*
* In this case, we go ahead and set up the relation's path right away
* instead of leaving it for set_rel_pathlist to do. This is because