summaryrefslogtreecommitdiff
path: root/src/backend/access/spgist
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2015-07-24 09:40:46 -0400
committerAndrew Dunstan <andrew@dunslane.net>2015-07-24 09:47:27 -0400
commit016f28ad3dbf3bec14319cf2a49925b0063251aa (patch)
treea9ed79e71762b0cae90619d4e2fb89e1da260479 /src/backend/access/spgist
parentbb0203f26fa5f09fe2689a9db4bc632c1435edec (diff)
Fix treatment of nulls in jsonb_agg and jsonb_object_agg
The wrong is_null flag was being passed to datum_to_json. Also, null object key values are not permitted, and this was not being checked for. Add regression tests covering these cases, and also add those tests to the json set, even though it was doing the right thing. Fixes bug #13514, initially diagnosed by Tom Lane.
Diffstat (limited to 'src/backend/access/spgist')
0 files changed, 0 insertions, 0 deletions