Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

+2-2
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)