diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 77dac084737..cd886ab71a7 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -10486,7 +10486,9 @@ table2-mapping See also about the aggregate function json_agg which aggregates record - values as JSON efficiently. + values as JSON efficiently, and the aggregate function + json_object_agg, which aggregates pairs of values + into a JSON object. @@ -12077,6 +12079,7 @@ SELECT count(*) FROM sometable; The aggregate functions array_agg, json_agg, + json_object_agg, string_agg, and xmlagg, as well as similar user-defined aggregate functions, produce meaningfully different result values