• Simon Riggs's avatar
    Avoid holding vmbuffer pin after VACUUM. · 62656617
    Simon Riggs authored
    During VACUUM if we pause to perform a cycle
    of index cleanup we drop the vmbuffer pin,
    so we should do the same thing when heap
    scan completes. This avoids holding vmbuffer
    pin across the main index cleanup in VACUUM,
    which could be minutes or hours longer than
    necessary for correctness.
    
    Bug report and suggested fix from Pavan Deolasee
    62656617
vacuumlazy.c 45.4 KB