pgsql: Return NULL from json_object_agg if it gets no rows. - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Return NULL from json_object_agg if it gets no rows.
Date
Msg-id E1XX81w-0005ry-II@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Add -D option to specify data directory to pg_controldata and pg
Next
From: Andrew Dunstan
Date:
Subject: pgsql: Return NULL from json_object_agg if it gets no rows.