mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
Fix many typos and inconsistencies
Author: Alexander Lakhin Discussion: https://postgr.es/m/af27d1b3-a128-9d62-46e0-88f424397f44@gmail.com
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user