aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2013-08-17 20:36:29 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2013-08-17 20:36:39 -0400
commit8820b502367de2669a8d3ed02a1cc485dd84fc4b (patch)
tree1f58562838ec3324e0f116f8dbc31ace9b0edc1b
parent517db4945560358a82b9152d01cfad3bbd2af17e (diff)
downloadpostgresql-8820b502367de2669a8d3ed02a1cc485dd84fc4b.tar.gz
postgresql-8820b502367de2669a8d3ed02a1cc485dd84fc4b.zip
Fix thinko in comment.
-rw-r--r--src/backend/optimizer/util/restrictinfo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/optimizer/util/restrictinfo.c b/src/backend/optimizer/util/restrictinfo.c
index 33b029b0e4e..55ce9d86543 100644
--- a/src/backend/optimizer/util/restrictinfo.c
+++ b/src/backend/optimizer/util/restrictinfo.c
@@ -704,9 +704,9 @@ join_clause_is_movable_to(RestrictInfo *rinfo, RelOptInfo *baserel)
* a lower outer join's inner side.
*
* There's no check here equivalent to join_clause_is_movable_to's test on
- * lateral_relids. We assume the caller wouldn't be inquiring unless it'd
- * verified that the proposed outer rels don't have lateral references to
- * the current rel(s).
+ * lateral_referencers. We assume the caller wouldn't be inquiring unless
+ * it'd verified that the proposed outer rels don't have lateral references
+ * to the current rel(s).
*
* Note: get_joinrel_parampathinfo depends on the fact that if
* current_and_outer is NULL, this function will always return false