• Tom Lane's avatar
    Fix oversight in coding of _bt_start_vacuum: we can't assume that the LWLock · 8875d098
    Tom Lane authored
    will be released by transaction abort before _bt_end_vacuum gets called.
    If either of these "can't happen" errors actually happened, we'd freeze up
    trying to acquire an already-held lock.  Latest word is that this does
    not explain Martin Pitt's trouble report, but it still looks like a bug.
    8875d098
nbtutils.c 38.8 KB