• Tom Lane's avatar
    Change array_push and array_cat so that they retain the lower bound of · 1e9a1a70
    Tom Lane authored
    the array (for array_push) or higher-dimensional array (for array_cat)
    rather than decrementing it as before.  This avoids generating lower
    bounds other than one for any array operation within the SQL spec.  Per
    recent discussion.
    Interestingly, this seems to have been the original behavior, because
    while updating the docs I noticed that a large fraction of relevant
    examples were *wrong* for the old behavior and are now right.  Is it
    worth correcting this in the back-branch docs?
    1e9a1a70
func.sgml 338 KB