mirror of https://github.com/postgres/postgres
We removed a similar ban on this in json_object recently, but the ban in datum_to_json was left, which generate4d sprutious errors in othee json generators, notable json_build_object. Along the way, add an assertion that datum_to_json is not passed a null key. All current callers comply with this rule, but the assertion will catch any possible future misbehaviour.pull/14/head
parent
5d7962c679
commit
9111d46351
Loading…
Reference in new issue