Skip to content

Commit d1406f1

Browse files
author
Hiroshi Inoue
committed
Change heap_get_latest_tid() so that a transaction can
see changes made by the transaction itself.
1 parent 936afc8 commit d1406f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/access/heap/heapam.c

Lines changed: 2 additions & 2 deletions
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.132 2002/03/26 19:15:11 tgl Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.133 2002/05/01 01:23:37 inoue Exp $
1212
*
1313
*
1414
* INTERFACE ROUTINES
@@ -1067,7 +1067,7 @@ heap_get_latest_tid(Relation relation,
10671067
snapshot, 0, (ScanKey) NULL);
10681068

10691069
linkend = true;
1070-
if ((t_data->t_infomask & HEAP_XMAX_COMMITTED) &&
1070+
if ((t_data->t_infomask & HEAP_XMIN_COMMITTED) != 0 &&
10711071
!ItemPointerEquals(tid, &ctid))
10721072
linkend = false;
10731073

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