From: Robert Haas Date: Fri, 3 Oct 2014 15:47:27 +0000 (-0400) Subject: Fix typos in comments. X-Git-Tag: REL9_5_ALPHA1~1398 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=017b2e9822cf6c28fc5024a5f9a6f0d3dde885a4;p=thirdparty%2Fpostgresql.git Fix typos in comments. Etsuro Fujita --- diff --git a/src/backend/rewrite/rewriteHandler.c b/src/backend/rewrite/rewriteHandler.c index e640c1eaa51..10d12cba179 100644 --- a/src/backend/rewrite/rewriteHandler.c +++ b/src/backend/rewrite/rewriteHandler.c @@ -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. *