• Tom Lane's avatar
    Clean up handling of unknown-type inputs in json_build_object and friends. · 92f57c9a
    Tom Lane authored
    There's actually no need for any special case for unknown-type literals,
    since we only need to push the value through its output function and
    unknownout() works fine.  The code that was here was completely bizarre
    anyway, and would fail outright in cases that should work, not to mention
    suffering from some copy-and-paste bugs.
    92f57c9a
json.c 59.8 KB