Thread: pgsql/src/backend/commands vacuum.c

pgsql/src/backend/commands vacuum.c

From
Tom Lane
Date:
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    tgl@hub.org    01/06/29 16:14:28

Modified files:
    src/backend/commands: vacuum.c

Log message:
    Fix VACUUM so that it can use pages as move targets even if they do not
    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.