• Andrew Dunstan's avatar
    Add several generator functions for jsonb that exist for json. · 7e354ab9
    Andrew Dunstan authored
    The functions are:
        to_jsonb()
        jsonb_object()
        jsonb_build_object()
        jsonb_build_array()
        jsonb_agg()
        jsonb_object_agg()
    
    Also along the way some better logic is implemented in
    json_categorize_type() to match that in the newly implemented
    jsonb_categorize_type().
    
    Andrew Dunstan, reviewed by Pavel Stehule and Alvaro Herrera.
    7e354ab9
jsonb_util.c 48.5 KB