Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd1406f1

Browse files
author
Hiroshi Inoue
committed
Change heap_get_latest_tid() so that a transaction can
see changes made by the transaction itself.
1 parent936afc8 commitd1406f1

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)

[8]ページ先頭

©2009-2025 Movatter.jp