• Tom Lane's avatar
    Marginal cleanup in arrangements for ensuring StrategyHintVacuum is cleared · 2e5e856f
    Tom Lane authored
    after an error during VACUUM.  We have a PG_TRY block anyway around the only
    call sites, so just reset it in the CATCH clause instead of having
    AtEOXact_Buffers blindly do it during xact end.  I think the old code was
    actively wrong for the case of a failure during ANALYZE inside a
    subtransaction --- the flag wouldn't get cleared until main transaction end.
    Probably not worth back-patching though.
    2e5e856f
bufmgr.c 59.1 KB