diff options
author | Hiroshi Inoue <inoue@tpf.co.jp> | 2002-05-01 01:27:31 +0000 |
---|---|---|
committer | Hiroshi Inoue <inoue@tpf.co.jp> | 2002-05-01 01:27:31 +0000 |
commit | ffd1a5d8531600ab424f9cac212b1004aa7b7b61 (patch) | |
tree | f4adc986613af26dc29061d914fabff05f800bf1 /src | |
parent | 891ce19bcc1e2f9deba4a1c0eb22e6ee8dad5e04 (diff) |
Change heap_get_latest_tid() so that a transaction can
see changes made by the transaction itself.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/access/heap/heapam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/heap/heapam.c b/src/backend/access/heap/heapam.c index 878896d5e27..336539f74d2 100644 --- a/src/backend/access/heap/heapam.c +++ b/src/backend/access/heap/heapam.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.129 2002/01/15 22:14:17 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/heap/heapam.c,v 1.129.2.1 2002/05/01 01:27:31 inoue Exp $ * * * INTERFACE ROUTINES @@ -1004,7 +1004,7 @@ heap_get_latest_tid(Relation relation, snapshot, 0, (ScanKey) NULL); linkend = true; - if ((t_data->t_infomask & HEAP_XMAX_COMMITTED) && + if ((t_data->t_infomask & HEAP_XMIN_COMMITTED) != 0 && !ItemPointerEquals(tid, &ctid)) linkend = false; |