Skip to content

Commit c259b15

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 04bec89 commit c259b15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/parser/parse_expr.c

Lines changed: 1 addition & 1 deletion
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy