• Tom Lane's avatar
    Fix all the places that called heap_update() and heap_delete() without · 786f1a59
    Tom Lane authored
    bothering to check the return value --- which meant that in case the
    update or delete failed because of a concurrent update, you'd not find
    out about it, except by observing later that the transaction produced
    the wrong outcome.  There are now subroutines simple_heap_update and
    simple_heap_delete that should be used anyplace that you're not prepared
    to do the full nine yards of coping with concurrent updates.  In
    practice, that seems to mean absolutely everywhere but the executor,
    because *noplace* else was checking.
    786f1a59
index.c 62.1 KB