diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 03b63f74191..6b2759e25a1 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -21870,6 +21870,54 @@ SELECT NULLIF(value, '(none)') ...
No
+
+
+
+ json_agg_strict
+
+ json_agg_strict ( anyelement )
+ json
+
+
+
+ jsonb_agg_strict
+
+ jsonb_agg_strict ( anyelement )
+ jsonb
+
+
+ Collects all the input values, skipping nulls, into a JSON array.
+ Values are converted to JSON as per to_json
+ or to_jsonb.
+
+ No
+
+
+
+
+ json_arrayagg
+ json_arrayagg (
+ value_expression
+ ORDER BY sort_expression
+ { NULL | ABSENT } ON NULL
+ RETURNING data_type FORMAT JSON ENCODING UTF8 )
+
+
+ Behaves in the same way as json_array
+ but as an aggregate function so it only takes one
+ value_expression parameter.
+ If ABSENT ON NULL is specified, any NULL
+ values are omitted.
+ If ORDER BY is specified, the elements will
+ appear in the array in that order rather than in the input order.
+
+
+ SELECT json_arrayagg(v) FROM (VALUES(2),(1)) t(v)
+ [2, 1]
+
+ No
+
+
json_objectagg
@@ -21980,31 +22028,6 @@ SELECT NULLIF(value, '(none)') ...
No
-
-
- json_arrayagg
- json_arrayagg (
- value_expression
- ORDER BY sort_expression
- { NULL | ABSENT } ON NULL
- RETURNING data_type FORMAT JSON ENCODING UTF8 )
-
-
- Behaves in the same way as json_array
- but as an aggregate function so it only takes one
- value_expression parameter.
- If ABSENT ON NULL is specified, any NULL
- values are omitted.
- If ORDER BY is specified, the elements will
- appear in the array in that order rather than in the input order.
-
-
- SELECT json_arrayagg(v) FROM (VALUES(2),(1)) t(v)
- [2, 1]
-
- No
-
-
@@ -22113,29 +22136,6 @@ SELECT NULLIF(value, '(none)') ...
No
-
-
-
- json_agg_strict
-
- json_agg_strict ( anyelement )
- json
-
-
-
- jsonb_agg_strict
-
- jsonb_agg_strict ( anyelement )
- jsonb
-
-
- Collects all the input values, skipping nulls, into a JSON array.
- Values are converted to JSON as per to_json
- or to_jsonb.
-
- No
-
-