• Robert Haas's avatar
    pg_upgrade: Convert old visibility map format to new format. · 7087166a
    Robert Haas authored
    Commit a892234f added a second bit per
    page to the visibility map, but pg_upgrade has been unaware of it up
    until now.  Therefore, a pg_upgrade from an earlier major release of
    PostgreSQL to any commit preceding this one and following the one
    mentioned above would result in invalid visibility map contents on the
    new cluster, very possibly leading to data corruption.  This plugs
    that hole.
    
    Masahiko Sawada, reviewed by Jeff Janes, Bruce Momjian, Simon Riggs,
    Michael Paquier, Andres Freund, me, and others.
    7087166a
file.c 7.8 KB