Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 064e040

Browse files
committed
Fix typo in comment of transformJsonAggConstructor()
An oversight of 3a8a1f3. Reported-by: Tender Wang <tndrwang@gmail.com> Author: Tender Wang <tndrwang@gmail.com> Backpatch-through: 16
1 parent 8aaca07 commit 064e040

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/parser/parse_expr.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -3890,7 +3890,7 @@ transformJsonAggConstructor(ParseState *pstate, JsonAggConstructor *agg_ctor,
38903890
/*
38913891
* Transform JSON_OBJECTAGG() aggregate function.
38923892
*
3893-
* JSON_OBJECT() is transformed into a JsonConstructorExpr node of type
3893+
* JSON_OBJECTAGG() is transformed into a JsonConstructorExpr node of type
38943894
* JSCTOR_JSON_OBJECTAGG, which at runtime becomes a
38953895
* json[b]_object_agg[_unique][_strict](agg->arg->key, agg->arg->value) call
38963896
* depending on the output JSON format. The result is coerced to the target

0 commit comments

Comments
 (0)