]> granicus.if.org Git - postgresql/commit
Fix documentation of argument type of json_agg and jsonb_agg
authorAndrew Dunstan <andrew@dunslane.net>
Mon, 22 Dec 2014 19:20:19 +0000 (14:20 -0500)
committerAndrew Dunstan <andrew@dunslane.net>
Mon, 22 Dec 2014 19:20:19 +0000 (14:20 -0500)
commit302bed04b2e2c6074cccc3b63aa1962c5a4461dd
tree439e6d6d8922063b292620dbecaae4fe6982407f
parent7ac0aff2b83e88edf5e7dcd4c4b425319d9537d6
Fix documentation of argument type of json_agg and jsonb_agg

json_agg was originally designed to aggregate records. However, it soon
became clear that it is useful for aggregating all kinds of values and
that'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.
doc/src/sgml/func.sgml