Skip to content

Commit 51683fe

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 b661aea commit 51683fe

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
@@ -14728,6 +14728,12 @@ table2-mapping
1472814728
<type>jsonb</type>, though not for <type>json</type>. The comparison
1472914729
operators follow the ordering rules for B-tree operations outlined in
1473014730
<xref linkend="json-indexing"/>.
14731+
See also <xref linkend="functions-aggregate"/> for the aggregate
14732+
function <function>json_agg</function> which aggregates record
14733+
values as JSON, the aggregate function
14734+
<function>json_object_agg</function> which aggregates pairs of values
14735+
into a JSON object, and their <type>jsonb</type> equivalents,
14736+
<function>jsonb_agg</function> and <function>jsonb_object_agg</function>.
1473114737
</para>
1473214738

1473314739
<table id="functions-json-op-table">
@@ -16183,15 +16189,6 @@ table2-mapping
1618316189
</tbody>
1618416190
</tgroup>
1618516191
</table>
16186-
16187-
<para>
16188-
See also <xref linkend="functions-aggregate"/> for the aggregate
16189-
function <function>json_agg</function> which aggregates record
16190-
values as JSON, the aggregate function
16191-
<function>json_object_agg</function> which aggregates pairs of values
16192-
into a JSON object, and their <type>jsonb</type> equivalents,
16193-
<function>jsonb_agg</function> and <function>jsonb_object_agg</function>.
16194-
</para>
1619516192
</sect2>
1619616193

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

0 commit comments

Comments
 (0)