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

Started by Andrew Dunstanalmost 12 years ago1 messagescomitters
Jump to latest
#1Andrew Dunstan
andrew@dunslane.net

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(-)

--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers