diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 44cc4875323..827c4afc654 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -11862,6 +11862,12 @@ table2-mapping
jsonb, but not for json. They follow the
ordering rules for B-tree operations outlined at .
+ 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.
Some further operators also exist only for jsonb, as shown
@@ -12860,15 +12866,6 @@ table2-mapping
-
- See also for the aggregate
- function json_agg which aggregates record
- values as JSON, and 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.
-
-