pgsql/src backend/access/heap/tuptoaster.c bac ... - Mailing list pgsql-committers

From tgl@postgresql.org
Subject pgsql/src backend/access/heap/tuptoaster.c bac ...
Date
Msg-id 200201162029.g0GKT3u04015@postgresql.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    02/01/16 15:29:02

Modified files:
    src/backend/access/heap: tuptoaster.c
    src/backend/utils/time: tqual.c
    src/include/utils: tqual.h

Log message:
    TOAST needs to do at least minimal time-qual checking in order not to
    mess up after an aborted VACUUM FULL, per today's pghackers discussion.
    Add a suitable HeapTupleSatisfiesToast routine.  Remove useless special-
    case test in HeapTupleSatisfiesVisibility macro for xmax =
    BootstrapTransactionId; perhaps that was needed at one time, but it's
    a waste of cycles now, not to mention actively wrong for SnapshotAny.
    Along the way, add some much-needed comments to tqual.c, and simplify
    toast_fetch_datum, which no longer needs to assume it may see chunks
    out-of-order.


pgsql-committers by date:

Previous
From: tgl@postgresql.org
Date:
Subject: pgsql/src/backend/utils/cache relcache.c
Next
From: momjian@postgresql.org
Date:
Subject: pgsql/src/backend/utils/time tqual.c