Thread: pgsql: Return NULL from json_object_agg if it gets no rows.

pgsql: Return NULL from json_object_agg if it gets no rows.

From
Andrew Dunstan
Date:
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
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/bda1d14360404ef58c4647888032158991051b14

Modified Files
--------------
src/backend/utils/adt/json.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)