Return NULL from json_object_agg if it gets no rows.
This makes it consistent with the docs and with all other builtin
aggregates apart from count().
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/ecacbdbcee67e202cfcaa1180da170b9f13654bb
Modified Files
--------------
src/backend/utils/adt/json.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)