Skip to content

Commit 44efd34

Browse files
committed
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
1 parent 6a71bf6 commit 44efd34

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

doc/src/sgml/func.sgml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -11862,6 +11862,12 @@ table2-mapping
1186211862
<type>jsonb</type>, but not for <type>json</type>. They follow the
1186311863
ordering rules for B-tree operations outlined at <xref
1186411864
linkend="json-indexing"/>.
11865+
See also <xref linkend="functions-aggregate"/> for the aggregate
11866+
function <function>json_agg</function> which aggregates record
11867+
values as JSON, the aggregate function
11868+
<function>json_object_agg</function> which aggregates pairs of values
11869+
into a JSON object, and their <type>jsonb</type> equivalents,
11870+
<function>jsonb_agg</function> and <function>jsonb_object_agg</function>.
1186511871
</para>
1186611872
<para>
1186711873
Some further operators also exist only for <type>jsonb</type>, as shown
@@ -12860,15 +12866,6 @@ table2-mapping
1286012866
</para>
1286112867
</note>
1286212868

12863-
<para>
12864-
See also <xref linkend="functions-aggregate"/> for the aggregate
12865-
function <function>json_agg</function> which aggregates record
12866-
values as JSON, and the aggregate function
12867-
<function>json_object_agg</function> which aggregates pairs of values
12868-
into a JSON object, and their <type>jsonb</type> equivalents,
12869-
<function>jsonb_agg</function> and <function>jsonb_object_agg</function>.
12870-
</para>
12871-
1287212869
</sect2>
1287312870

1287412871
<sect2 id="functions-sqljson-path">

0 commit comments

Comments
 (0)