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:21:20 +0000 (14:21 -0500)
commitcc82141d9a4d2d83aea6691fad2d8fbbd1a277c2
tree0cc08b41ce5497b2b78f03b2736a0605879d0897
parentacbcb3262984d9a78021cfc8518a6b30c880312e
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