]> granicus.if.org Git - postgresql/commit
Make sure that t_ctid is reset to equal t_self in heap_delete and
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 13 Aug 2002 20:11:03 +0000 (20:11 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 13 Aug 2002 20:11:03 +0000 (20:11 +0000)
commit0affc29e1e8686a0d44165f11cd7818891bcfb46
treeb538153885d641dbff151028f35229d9ef927123
parent1e4c4f9eb762089e3133af51d3f96d60b27f0c34
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.
src/backend/access/heap/heapam.c