mirror of
https://github.com/postgres/postgres.git
synced 2025-06-05 00:02:04 -04:00
*redo: Heap move* neglects to set t_cmin for MOVED_IN tuples.
This commit is contained in:
parent
d81fd94d40
commit
a8824ff257
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* 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
|
* INTERFACE ROUTINES
|
||||||
@ -2427,6 +2427,8 @@ newsame:;
|
|||||||
if (move)
|
if (move)
|
||||||
{
|
{
|
||||||
htup->t_xmin = (TransactionId) xlrec->target.cid;
|
htup->t_xmin = (TransactionId) xlrec->target.cid;
|
||||||
|
TransactionIdStore(record->xl_xid, (TransactionId *) &(h
|
||||||
|
tup->t_cmin));
|
||||||
memcpy(&(htup->t_xmax),
|
memcpy(&(htup->t_xmax),
|
||||||
(char*)xlrec + SizeOfHeapUpdate, sizeof(TransactionId));
|
(char*)xlrec + SizeOfHeapUpdate, sizeof(TransactionId));
|
||||||
htup->t_infomask = xlrec->mask;
|
htup->t_infomask = xlrec->mask;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user