Skip to content

Commit a8824ff

Browse files
author
Hiroshi Inoue
committed
*redo: Heap move* neglects to set t_cmin for MOVED_IN tuples.
1 parent d81fd94 commit a8824ff

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/backend/access/heap/heapam.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.99 2000/12/03 10:27:25 vadim Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.100 2000/12/11 05:25:23 inoue Exp $
1212
*
1313
*
1414
* INTERFACE ROUTINES
@@ -2427,6 +2427,8 @@ newsame:;
24272427
if (move)
24282428
{
24292429
htup->t_xmin = (TransactionId) xlrec->target.cid;
2430+
TransactionIdStore(record->xl_xid, (TransactionId *) &(h
2431+
tup->t_cmin));
24302432
memcpy(&(htup->t_xmax),
24312433
(char*)xlrec + SizeOfHeapUpdate, sizeof(TransactionId));
24322434
htup->t_infomask = xlrec->mask;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy