Fix documentation of argument type of json_agg and jsonb_agg

Andrew Dunstan <andrew@dunslane.net>

Commit: cc82141d9a4d2d83aea6691fad2d8fbbd1a277c2
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2014-12-22T19:21:20Z
Releases: 9.3.6
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.

Files

PathChange+/−
doc/src/sgml/func.sgml modified +3 −3