• Tom Lane's avatar
    Further cleanup of array behavior. Slice assignments to arrays with · e4e6459c
    Tom Lane authored
    varlena elements work now.  Allow assignment to previously-nonexistent
    subscript position to extend array, but only for 1-D arrays and only
    if adjacent to existing positions (could do more if we had a way to
    represent nulls in arrays, but I don't want to tackle that now).
    Arrange for assignment of NULL to an array element in UPDATE to be a
    no-op, rather than setting the entire array to NULL as it used to.
    (Throwing an error would be a reasonable alternative, but it's never
    done that...)  Update regress test accordingly.
    e4e6459c
execQual.c 47.4 KB