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
This commit is contained in:
Amit Langote 2024-10-16 18:11:53 +09:00
parent 04bec894a0
commit c259b1578e

View File

@ -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