8000 doc: move the mention of aggregate JSON functions up in section · postgres/postgres@1228660 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1228660

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 5f93720 commit 1228660

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
@@ -11403,6 +11403,12 @@ table2-mapping
1140311403
<type>jsonb</type>, but not for <type>json</type>. They follow the
1140411404
ordering rules for B-tree operations outlined at <xref
1140511405
linkend="json-indexing"/>.
11406+
See also <xref linkend="functions-aggregate"/> for the aggregate
11407+
function <function>json_agg</function> which aggregates record
11408+
values as JSON, the aggregate function
11409+
<function>json_object_agg</function> which aggregates pairs of values
11410+
into a JSON object, and their <type>jsonb</type> equivalents,
11411+
<function>jsonb_agg</function> and <function>jsonb_object_agg</function>.
1140611412
</para>
1140711413
<para>
1140811414
Some further operators also exist only for <type>jsonb</type>, as shown
@@ -12233,15 +12239,6 @@ table2-mapping
1223312239
</para>
1223412240
</note>
1223512241

12236-
<para>
12237-
See also <xref linkend="functions-aggregate"/> for the aggregate
12238-
function <function>json_agg</function> which aggregates record
12239-
values as JSON, and the aggregate function
12240-
<function>json_object_agg</function> which aggregates pairs of values
12241-
into a JSON object, and their <type>jsonb</type> equivalents,
12242-
<function>jsonb_agg</function> and <function>jsonb_object_agg</function>.
12243-
</para>
12244-
1224512242
</sect1>
1224612243

1224712244
<sect1 id="functions-sequence">

0 commit comments

Comments
 (0)
0