• Tom Lane's avatar
    Fix VACUUM so that it can use pages as move targets even if they do not · 0eab92c0
    Tom Lane authored
    have any newly-dead tuples on them.  This is a longstanding deficiency
    that prevents VACUUM from compacting a file as much as one would expect.
    Change requires fixing repair_frag to not assume that fraged_pages is
    a subset of vacuum_pages.
    Also make some further cleanups of places that assumed page numbers fit
    in int and tuple counts fit in uint32.
    0eab92c0
vacuum.c 74 KB