Revert 95d737ff to add 'ignore_nulls'
Stephen Frost <sfrost@snowman.net>
Revert 95d737ff to add 'ignore_nulls' Per discussion, revert the commit which added 'ignore_nulls' to row_to_json. This capability would be better added as an independent function rather than being bolted on to row_to_json. Additionally, the implementation didn't address complex JSON objects, and so was incomplete anyway. Pointed out by Tom and discussed with Andrew and Robert.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/func.sgml | modified | +2 −4 |
| src/backend/catalog/system_views.sql | modified | +0 −14 |
| src/backend/utils/adt/json.c | modified | +40 −15 |
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/catalog/pg_proc.h | modified | +6 −2 |
| src/include/utils/json.h | modified | +2 −0 |
| src/test/regress/expected/json.out | modified | +0 −58 |
| src/test/regress/sql/json.sql | modified | +0 −24 |