Commit 2c19ea86 authored by Heikki Linnakangas's avatar Heikki Linnakangas

Fix typo in comment.

Author: Kyotaro Horiguchi
parent 1671c016
...@@ -1205,7 +1205,7 @@ replace_rte_variables_mutator(Node *node, ...@@ -1205,7 +1205,7 @@ replace_rte_variables_mutator(Node *node,
* If the expression tree contains a whole-row Var for the target RTE, * If the expression tree contains a whole-row Var for the target RTE,
* *found_whole_row is set to true. In addition, if to_rowtype is * *found_whole_row is set to true. In addition, if to_rowtype is
* not InvalidOid, we replace the Var with a Var of that vartype, inserting * not InvalidOid, we replace the Var with a Var of that vartype, inserting
* a ConvertRowTypeExpr to map back to the rowtype expected by the expression. * a ConvertRowtypeExpr to map back to the rowtype expected by the expression.
* (Therefore, to_rowtype had better be a child rowtype of the rowtype of the * (Therefore, to_rowtype had better be a child rowtype of the rowtype of the
* RTE we're changing references to.) Callers that don't provide to_rowtype * RTE we're changing references to.) Callers that don't provide to_rowtype
* should report an error if *found_row_type is true; we don't do that here * should report an error if *found_row_type is true; we don't do that here
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment