Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb2d145b

Browse files
committed
Fix documentation of argument type of json_agg and jsonb_agg
json_agg was originally designed to aggregate records. However, it soonbecame clear that it is useful for aggregating all kinds of values andthat's what we have on 9.3 and 9.4, and in head for it and jsonb_agg.The documentation suggested otherwise, so this fixes it.
1 parent955557d commitb2d145b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12230,31 +12230,31 @@ NULL baz</literallayout>(3 rows)</entry>
1223012230
<indexterm>
1223112231
<primary>json_agg</primary>
1223212232
</indexterm>
12233-
<function>json_agg(<replaceable class="parameter">record</replaceable>)</function>
12233+
<function>json_agg(<replaceable class="parameter">expression</replaceable>)</function>
1223412234
</entry>
1223512235
<entry>
12236-
<type>record</type>
12236+
<type>expression</type>
1223712237
</entry>
1223812238
<entry>
1223912239
<type>json</type>
1224012240
</entry>
12241-
<entry>aggregatesrecords as a JSON array of objects</entry>
12241+
<entry>aggregatesvalues as a JSON array</entry>
1224212242
</row>
1224312243

1224412244
<row>
1224512245
<entry>
1224612246
<indexterm>
1224712247
<primary>jsonb_agg</primary>
1224812248
</indexterm>
12249-
<function>jsonb_agg(<replaceable class="parameter">record</replaceable>)</function>
12249+
<function>jsonb_agg(<replaceable class="parameter">expression</replaceable>)</function>
1225012250
</entry>
1225112251
<entry>
12252-
<type>record</type>
12252+
<type>expression</type>
1225312253
</entry>
1225412254
<entry>
1225512255
<type>jsonb</type>
1225612256
</entry>
12257-
<entry>aggregatesrecords as a JSON array of objects</entry>
12257+
<entry>aggregatesvalues as a JSON array</entry>
1225812258
</row>
1225912259

1226012260
<row>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp