From: Amit Langote Date: Wed, 16 Oct 2024 09:11:53 +0000 (+0900) Subject: Fix typo in comment of transformJsonAggConstructor() X-Git-Tag: REL_16_5~50 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4a933eefe11208d02552f34c8fb3a2b13caeb286;p=thirdparty%2Fpostgresql.git Fix typo in comment of transformJsonAggConstructor() An oversight of 3a8a1f3254b. Reported-by: Tender Wang Author: Tender Wang Backpatch-through: 16 --- diff --git a/src/backend/parser/parse_expr.c b/src/backend/parser/parse_expr.c index ba3448f9dd5..2f4e3f5cdfb 100644 --- a/src/backend/parser/parse_expr.c +++ b/src/backend/parser/parse_expr.c @@ -3751,7 +3751,7 @@ transformJsonAggConstructor(ParseState *pstate, JsonAggConstructor *agg_ctor, /* * Transform JSON_OBJECTAGG() aggregate function. * - * JSON_OBJECT() is transformed into a JsonConstructorExpr node of type + * JSON_OBJECTAGG() is transformed into a JsonConstructorExpr node of type * JSCTOR_JSON_OBJECTAGG, which at runtime becomes a * json[b]_object_agg[_unique][_strict](agg->arg->key, agg->arg->value) call * depending on the output JSON format. The result is coerced to the target