Fix typo in comment of transformJsonAggConstructor()

An oversight of 3a8a1f3254.

Reported-by: Tender Wang <tndrwang@gmail.com>
Author: Tender Wang <tndrwang@gmail.com>
Backpatch-through: 16
REL_16_STABLE
Amit Langote 11 months ago
parent 6331972c7b
commit 4a933eefe1
  1. 2
      src/backend/parser/parse_expr.c

@ -3751,7 +3751,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

Loading…
Cancel
Save