We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9019264 commit 017b2e9Copy full SHA for 017b2e9
src/backend/rewrite/rewriteHandler.c
@@ -884,13 +884,13 @@ process_matched_tle(TargetEntry *src_tle,
884
* UPDATE tab SET col.fld1.subfld1 = x, col.fld2.subfld2 = y
885
* The two expressions produced by the parser will look like
886
* FieldStore(col, fld1, FieldStore(placeholder, subfld1, x))
887
- * FieldStore(col, fld2, FieldStore(placeholder, subfld2, x))
+ * FieldStore(col, fld2, FieldStore(placeholder, subfld2, y))
888
* However, we can ignore the substructure and just consider the top
889
* FieldStore or ArrayRef from each assignment, because it works to
890
* combine these as
891
* FieldStore(FieldStore(col, fld1,
892
* FieldStore(placeholder, subfld1, x)),
893
- * fld2, FieldStore(placeholder, subfld2, x))
+ * fld2, FieldStore(placeholder, subfld2, y))
894
* Note the leftmost expression goes on the inside so that the
895
* assignments appear to occur left-to-right.
896
*
0 commit comments