diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index ccfa284d4f7..5ae6176528d 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -15149,6 +15149,12 @@ table2-mapping
jsonb, though not for json. The comparison
operators follow the ordering rules for B-tree operations outlined in
.
+ See also for the aggregate
+ function json_agg which aggregates record
+ values as JSON, the aggregate function
+ json_object_agg which aggregates pairs of values
+ into a JSON object, and their jsonb equivalents,
+ jsonb_agg and jsonb_object_agg.
@@ -16604,15 +16610,6 @@ table2-mapping
-
-
- See also for the aggregate
- function json_agg which aggregates record
- values as JSON, the aggregate function
- json_object_agg which aggregates pairs of values
- into a JSON object, and their jsonb equivalents,
- jsonb_agg and jsonb_object_agg.
-