diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index b7e65a58ea5..3ec030288f4 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -11572,15 +11572,15 @@ SELECT NULLIF(value, '(none)') ... 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