Return NULL from json_object_agg if it gets no rows.
Andrew 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().
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/json.c | modified | +1 −1 |