postgres.git / summary / log / commit / refs

commit    a8824ff257a72314f3b99a3ff548988bb65a30e2
Author:   Hiroshi Inoue <inoue@tpf.co.jp>
Date:     Mon Dec 11 05:25:23 2000 +0000
First released in: 7.1

    *redo: Heap move* neglects to set t_cmin for MOVED_IN tuples.


src/backend/access/heap/heapam.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c index ac5c15491c8..b928c1b688f 100644 --- a/src/backend/access/heap/heapam.c +++ b/src/backend/access/heap/heapam.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.99 2000/12/03 10:27:25 vadim Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.100 2000/12/11 05:25:23 inoue Exp $ * * * INTERFACE ROUTINES @@ -2427,6 +2427,8 @@ newsame:; if (move) { htup->t_xmin = (TransactionId) xlrec->target.cid; + TransactionIdStore(record->xl_xid, (TransactionId *) &(h +tup->t_cmin)); memcpy(&(htup->t_xmax), (char*)xlrec + SizeOfHeapUpdate, sizeof(TransactionId)); htup->t_infomask = xlrec->mask; [parent: d81fd94d400b]