Skip to content

Commit 77dd153

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 4d07046 commit 77dd153

File tree

1 file changed

+6
-9
lines changed

1 file changed

+6
-9
lines changed

doc/src/sgml/func.sgml

+6-9
Original file line numberDiff line numberDiff line change
@@ -15149,6 +15149,12 @@ table2-mapping
1514915149
<type>jsonb</type>, though not for <type>json</type>. The comparison
1515015150
operators follow the ordering rules for B-tree operations outlined in
1515115151
<xref linkend="json-indexing"/>.
15152+
See also <xref linkend="functions-aggregate"/> for the aggregate
15153+
function <function>json_agg</function> which aggregates record
15154+
values as JSON, the aggregate function
15155+
<function>json_object_agg</function> which aggregates pairs of values
15156+
into a JSON object, and their <type>jsonb</type> equivalents,
15157+
<function>jsonb_agg</function> and <function>jsonb_object_agg</function>.
1515215158
</para>
1515315159

1515415160
<table id="functions-json-op-table">
@@ -16604,15 +16610,6 @@ table2-mapping
1660416610
</tbody>
1660516611
</tgroup>
1660616612
</table>
16607-
16608-
<para>
16609-
See also <xref linkend="functions-aggregate"/> for the aggregate
16610-
function <function>json_agg</function> which aggregates record
16611-
values as JSON, the aggregate function
16612-
<function>json_object_agg</function> which aggregates pairs of values
16613-
into a JSON object, and their <type>jsonb</type> equivalents,
16614-
<function>jsonb_agg</function> and <function>jsonb_object_agg</function>.
16615-
</para>
1661616613
</sect2>
1661716614

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

0 commit comments

Comments
 (0)