|
8 | 8 | * |
9 | 9 | * |
10 | 10 | * IDENTIFICATION |
11 | | - * $PostgreSQL: pgsql/src/backend/storage/ipc/sinval.c,v 1.67 2004/08/01 17:32:16 tgl Exp $ |
| 11 | + * $PostgreSQL: pgsql/src/backend/storage/ipc/sinval.c,v 1.68 2004/08/15 17:03:36 tgl Exp $ |
12 | 12 | * |
13 | 13 | *------------------------------------------------------------------------- |
14 | 14 | */ |
@@ -673,7 +673,7 @@ GetOldestXmin(bool allDbs) |
673 | 673 | TransactionIdresult; |
674 | 674 | intindex; |
675 | 675 |
|
676 | | -result=GetCurrentTransactionId(); |
| 676 | +result=GetTopTransactionId(); |
677 | 677 |
|
678 | 678 | LWLockAcquire(SInvalLock,LW_SHARED); |
679 | 679 |
|
@@ -763,7 +763,7 @@ GetSnapshotData(Snapshot snapshot, bool serializable) |
763 | 763 | errmsg("out of memory"))); |
764 | 764 | } |
765 | 765 |
|
766 | | -globalxmin=xmin=GetCurrentTransactionId(); |
| 766 | +globalxmin=xmin=GetTopTransactionId(); |
767 | 767 |
|
768 | 768 | /* |
769 | 769 | * If we are going to set MyProc->xmin then we'd better get exclusive |
|