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/08/13 16:11:09

Modified files:
    src/backend/access/heap: heapam.c

Log message:
    Make sure that t_ctid is reset to equal t_self in heap_delete and
    heap_mark4update; this avoids situations where a deleted tuple might
    look like it is chained to something else.  Also, cause all the WAL
    redo routines to set t_ctid to equal t_self, rather than leaving it
    undefined as before.  Make heap_xlog_clean set the page's LSN and SUI
    correctly.  All per past discussions in pghackers, ranging back to
    last December.