aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2022-10-17 15:21:29 -0400
committerBruce Momjian <bruce@momjian.us>2022-10-17 15:21:29 -0400
commit9f49b15b9d9753b5140d657c96cf6a2c2973e5e6 (patch)
tree9694ff74a17fb98e319584ff8fe25c409e813609
parentbed9bb929e026b91a0c45cbf7e4ee1a8bfaaa70b (diff)
downloadpostgresql-9f49b15b9d9753b5140d657c96cf6a2c2973e5e6.tar.gz
postgresql-9f49b15b9d9753b5140d657c96cf6a2c2973e5e6.zip
doc: move the mention of aggregate JSON functions up in section
It was previously easily overlooked at the end of several tables. Reported-by: Alex Denman Discussion: https://postgr.es/m/166335888474.659.16897487975376230364@wrigleys.postgresql.org Backpatch-through: 10
-rw-r--r--doc/src/sgml/func.sgml15
1 files changed, 6 insertions, 9 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index d77f4a163b4..f0155eef7f5 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -14543,6 +14543,12 @@ table2-mapping
<type>jsonb</type>, though not for <type>json</type>. The comparison
operators follow the ordering rules for B-tree operations outlined in
<xref linkend="json-indexing"/>.
+ See also <xref linkend="functions-aggregate"/> for the aggregate
+ function <function>json_agg</function> which aggregates record
+ values as JSON, the aggregate function
+ <function>json_object_agg</function> which aggregates pairs of values
+ into a JSON object, and their <type>jsonb</type> equivalents,
+ <function>jsonb_agg</function> and <function>jsonb_object_agg</function>.
</para>
<table id="functions-json-op-table">
@@ -15998,15 +16004,6 @@ table2-mapping
</tbody>
</tgroup>
</table>
-
- <para>
- See also <xref linkend="functions-aggregate"/> for the aggregate
- function <function>json_agg</function> which aggregates record
- values as JSON, the aggregate function
- <function>json_object_agg</function> which aggregates pairs of values
- into a JSON object, and their <type>jsonb</type> equivalents,
- <function>jsonb_agg</function> and <function>jsonb_object_agg</function>.
- </para>
</sect2>
<sect2 id="functions-sqljson-path">