aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execExpr.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-07-01 10:00:23 +0900
committerMichael Paquier <michael@paquier.xyz>2019-07-01 10:00:23 +0900
commitc74d49d41c9e0fabeb1179dcabfb3137833ed831 (patch)
treed5406f4f6578181174e178c68ba320ac9395648a /src/backend/executor/execExpr.c
parent459c3cdb4ad8323bfe6bcae0186a3831e0c89c94 (diff)
downloadpostgresql-c74d49d41c9e0fabeb1179dcabfb3137833ed831.tar.gz
postgresql-c74d49d41c9e0fabeb1179dcabfb3137833ed831.zip
Fix many typos and inconsistencies
Author: Alexander Lakhin Discussion: https://postgr.es/m/af27d1b3-a128-9d62-46e0-88f424397f44@gmail.com
Diffstat (limited to 'src/backend/executor/execExpr.c')
-rw-r--r--src/backend/executor/execExpr.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/executor/execExpr.c b/src/backend/executor/execExpr.c
index e4a6c20ed02..e4e05753eee 100644
--- a/src/backend/executor/execExpr.c
+++ b/src/backend/executor/execExpr.c
@@ -1200,12 +1200,12 @@ ExecInitExprRec(Expr *node, ExprState *state,
* field's values[]/nulls[] entries as both the caseval
* source and the result address for this subexpression.
* That's okay only because (1) both FieldStore and
- * ArrayRef evaluate their arg or refexpr inputs first,
- * and (2) any such CaseTestExpr is directly the arg or
- * refexpr input. So any read of the caseval will occur
- * before there's a chance to overwrite it. Also, if
- * multiple entries in the newvals/fieldnums lists target
- * the same field, they'll effectively be applied
+ * SubscriptingRef evaluate their arg or refexpr inputs
+ * first, and (2) any such CaseTestExpr is directly the
+ * arg or refexpr input. So any read of the caseval will
+ * occur before there's a chance to overwrite it. Also,
+ * if multiple entries in the newvals/fieldnums lists
+ * target the same field, they'll effectively be applied
* left-to-right which is what we want.
*/
save_innermost_caseval = state->innermost_caseval;