aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_expr.c
diff options
context:
space:
mode:
authorAmit Langote <amitlan@postgresql.org>2024-10-16 18:11:53 +0900
committerAmit Langote <amitlan@postgresql.org>2024-10-16 20:37:02 +0900
commitc259b1578e006b2f808595fac4d8e45c5cce9d73 (patch)
treebde45b78baaed74f2a51ad8a9d5a6279ba6a7933 /src/backend/parser/parse_expr.c
parent04bec894a04cb0d32533f1522ab81b7016141ff1 (diff)
downloadpostgresql-c259b1578e006b2f808595fac4d8e45c5cce9d73.tar.gz
postgresql-c259b1578e006b2f808595fac4d8e45c5cce9d73.zip
Fix typo in comment of transformJsonAggConstructor()
An oversight of 3a8a1f3254b. Reported-by: Tender Wang <tndrwang@gmail.com> Author: Tender Wang <tndrwang@gmail.com> Backpatch-through: 16
Diffstat (limited to 'src/backend/parser/parse_expr.c')
-rw-r--r--src/backend/parser/parse_expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/parser/parse_expr.c b/src/backend/parser/parse_expr.c
index 36c1b7a88f2..ef0b560f5e3 100644
--- a/src/backend/parser/parse_expr.c
+++ b/src/backend/parser/parse_expr.c
@@ -3890,7 +3890,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