]> granicus.if.org Git - postgresql/commitdiff
*redo: Heap move* neglects to set t_cmin for MOVED_IN tuples.
authorHiroshi Inoue <inoue@tpf.co.jp>
Mon, 11 Dec 2000 05:25:23 +0000 (05:25 +0000)
committerHiroshi Inoue <inoue@tpf.co.jp>
Mon, 11 Dec 2000 05:25:23 +0000 (05:25 +0000)
src/backend/access/heap/heapam.c

index ac5c15491c857588d94c68cce44ff863f03e8710..b928c1b688f678884c6ce275228b1e36f0017f33 100644 (file)
@@ -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;