]> 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:12:06 +0000 (14:12 -0500)
committerAndrew Dunstan <andrew@dunslane.net>
Mon, 22 Dec 2014 19:12:06 +0000 (14:12 -0500)
commitb2d145bff02e5f278649aca0e6fb6142ea2f298d
tree0dcb9e0408f7d257798b70472af7b14d21408044
parent955557ddccb4065831af80b0966cbd02937dfb72
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