• Andrew Dunstan's avatar
    Desupport jsonb subscript deletion on objects · b81c7b40
    Andrew Dunstan authored
    Supporting deletion of JSON pairs within jsonb objects using an
    array-style integer subscript allowed for surprising outcomes.  This was
    mostly due to the implementation-defined ordering of pairs within
    objects for jsonb.
    
    It also seems desirable to make jsonb integer subscript deletion
    consistent with the 9.4 era general purpose integer subscripting
    operator for jsonb (although that operator returns NULL when an object
    is encountered, while we prefer here to throw an error).
    
    Peter Geoghegan, following discussion on -hackers.
    b81c7b40
func.sgml 645 KB