Thread: pgsql-server/src backend/access/heap/heapam.c ...

pgsql-server/src backend/access/heap/heapam.c ...

From
tgl@postgresql.org (Tom Lane)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@postgresql.org    02/09/26 18:46:29

Modified files:
    src/backend/access/heap: heapam.c
    src/include/access: htup.h xlog.h

Log message:
    Fix problems with loss of tuple commit status bits during WAL redo of
    VACUUM FULL tuple moves.  Store full-width t_infomask in WAL, rather
    than storing low 8 bits and expecting to be able to reconstruct upper
    bits.  While at it, remove redundant t_oid field from WAL headers
    (the OID, if present, is now recorded in the data portion of the tuple).
    WAL version number bumped --- this does not force an initdb, you can
    instead run pg_resetxlog after a clean shutdown of the old postmaster.