diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 6f3094656c2..c6c3bf80171 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -12230,15 +12230,15 @@ NULL baz(3 rows) json_agg - json_agg(record) + json_agg(expression) - record + expression json - aggregates records as a JSON array of objects + aggregates values as a JSON array @@ -12246,15 +12246,15 @@ NULL baz(3 rows) jsonb_agg - jsonb_agg(record) + jsonb_agg(expression) - record + expression jsonb - aggregates records as a JSON array of objects + aggregates values as a JSON array