Fix typos in comments.
authorRobert Haas
Fri, 3 Oct 2014 15:47:27 +0000 (11:47 -0400)
committerRobert Haas
Fri, 3 Oct 2014 15:47:27 +0000 (11:47 -0400)
Etsuro Fujita

src/backend/rewrite/rewriteHandler.c

index e640c1eaa512ef233894b39e2b92fa01353471cd..10d12cba17918cc1c4b43a9ee070ce20f71d8049 100644 (file)
@@ -884,13 +884,13 @@ process_matched_tle(TargetEntry *src_tle,
     *      UPDATE tab SET col.fld1.subfld1 = x, col.fld2.subfld2 = y
     * The two expressions produced by the parser will look like
     *      FieldStore(col, fld1, FieldStore(placeholder, subfld1, x))
-    *      FieldStore(col, fld2, FieldStore(placeholder, subfld2, x))
+    *      FieldStore(col, fld2, FieldStore(placeholder, subfld2, y))
     * However, we can ignore the substructure and just consider the top
     * FieldStore or ArrayRef from each assignment, because it works to
     * combine these as
     *      FieldStore(FieldStore(col, fld1,
     *                            FieldStore(placeholder, subfld1, x)),
-    *                 fld2, FieldStore(placeholder, subfld2, x))
+    *                 fld2, FieldStore(placeholder, subfld2, y))
     * Note the leftmost expression goes on the inside so that the
     * assignments appear to occur left-to-right.
     *