Skip to content

Commit 017b2e9

Browse files
committed
Fix typos in comments.
Etsuro Fujita
1 parent 9019264 commit 017b2e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/rewrite/rewriteHandler.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -884,13 +884,13 @@ process_matched_tle(TargetEntry *src_tle,
884884
* UPDATE tab SET col.fld1.subfld1 = x, col.fld2.subfld2 = y
885885
* The two expressions produced by the parser will look like
886886
* FieldStore(col, fld1, FieldStore(placeholder, subfld1, x))
887-
* FieldStore(col, fld2, FieldStore(placeholder, subfld2, x))
887+
* FieldStore(col, fld2, FieldStore(placeholder, subfld2, y))
888888
* However, we can ignore the substructure and just consider the top
889889
* FieldStore or ArrayRef from each assignment, because it works to
890890
* combine these as
891891
* FieldStore(FieldStore(col, fld1,
892892
* FieldStore(placeholder, subfld1, x)),
893-
* fld2, FieldStore(placeholder, subfld2, x))
893+
* fld2, FieldStore(placeholder, subfld2, y))
894894
* Note the leftmost expression goes on the inside so that the
895895
* assignments appear to occur left-to-right.
896896
*

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy