projects
/
users
/
c2main
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04bec89
)
Fix typo in comment of transformJsonAggConstructor()
author
Amit Langote
<
[email protected]
>
Wed, 16 Oct 2024 09:11:53 +0000
(18:11 +0900)
committer
Amit Langote
<
[email protected]
>
Wed, 16 Oct 2024 11:37:02 +0000
(20:37 +0900)
An oversight of
3a8a1f3254b
.
Reported-by: Tender Wang <
[email protected]
>
Author: Tender Wang <
[email protected]
>
Backpatch-through: 16
src/backend/parser/parse_expr.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/parser/parse_expr.c
b/src/backend/parser/parse_expr.c
index 36c1b7a88f2c3684d6d58dac5c5e27a5d885e783..ef0b560f5e3bfdbdabdbe476ff308786f68e13aa 100644
(file)
--- 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_OBJECT
AGG
() 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