diff options
author | Michael Paquier <michael@paquier.xyz> | 2019-07-01 10:00:23 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2019-07-01 10:00:23 +0900 |
commit | c74d49d41c9e0fabeb1179dcabfb3137833ed831 (patch) | |
tree | d5406f4f6578181174e178c68ba320ac9395648a /src/backend/rewrite/rewriteHandler.c | |
parent | 459c3cdb4ad8323bfe6bcae0186a3831e0c89c94 (diff) | |
download | postgresql-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/rewrite/rewriteHandler.c')
-rw-r--r-- | src/backend/rewrite/rewriteHandler.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/rewrite/rewriteHandler.c b/src/backend/rewrite/rewriteHandler.c index ea40c287333..5b047d16629 100644 --- a/src/backend/rewrite/rewriteHandler.c +++ b/src/backend/rewrite/rewriteHandler.c @@ -980,11 +980,11 @@ process_matched_tle(TargetEntry *src_tle, * * As a further complication, the destination column might be a domain, * resulting in each assignment containing a CoerceToDomain node over a - * FieldStore or ArrayRef. These should have matching target domains, - * so we strip them and reconstitute a single CoerceToDomain over the - * combined FieldStore/ArrayRef nodes. (Notice that this has the result - * that the domain's checks are applied only after we do all the field or - * element updates, not after each one. This is arguably desirable.) + * FieldStore or SubscriptingRef. These should have matching target + * domains, so we strip them and reconstitute a single CoerceToDomain over + * the combined FieldStore/SubscriptingRef nodes. (Notice that this has the + * result that the domain's checks are applied only after we do all the + * field or element updates, not after each one. This is arguably desirable.) *---------- */ src_expr = (Node *) src_tle->expr; |