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

Commit302bed0

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 parent7ac0aff commit302bed0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎doc/src/sgml/func.sgml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12160,15 +12160,15 @@ NULL baz</literallayout>(3 rows)</entry>
1216012160
<indexterm>
1216112161
<primary>json_agg</primary>
1216212162
</indexterm>
12163-
<function>json_agg(<replaceable class="parameter">record</replaceable>)</function>
12163+
<function>json_agg(<replaceable class="parameter">expression</replaceable>)</function>
1216412164
</entry>
1216512165
<entry>
12166-
<type>record</type>
12166+
<type>expression</type>
1216712167
</entry>
1216812168
<entry>
1216912169
<type>json</type>
1217012170
</entry>
12171-
<entry>aggregatesrecords as a JSON array of objects</entry>
12171+
<entry>aggregatesvalues as a JSON array</entry>
1217212172
</row>
1217312173

1217412174
<row>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp