aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2003-02-23 23:20:52 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2003-02-23 23:20:52 +0000
commit61b22d3aab48fc462bf7283964fde9b3071a72fd (patch)
tree9e6816098e675790cf22511cad4025cc91f5f34d /src/backend/utils
parent3bbd6af37cef7a46f6d3ecb8d95b58614bd76f52 (diff)
downloadpostgresql-61b22d3aab48fc462bf7283964fde9b3071a72fd.tar.gz
postgresql-61b22d3aab48fc462bf7283964fde9b3071a72fd.zip
btree page recycling can be done as soon as page's next-xact label is
older than current Xmin; we don't have to wait till it's older than GlobalXmin.
Diffstat (limited to 'src/backend/utils')
-rw-r--r--src/backend/utils/time/tqual.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/backend/utils/time/tqual.c b/src/backend/utils/time/tqual.c
index d6a329fa318..f5f0305e91a 100644
--- a/src/backend/utils/time/tqual.c
+++ b/src/backend/utils/time/tqual.c
@@ -16,7 +16,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
* IDENTIFICATION
- * $Header: /cvsroot/pgsql/src/backend/utils/time/tqual.c,v 1.61 2002/10/08 17:17:19 tgl Exp $
+ * $Header: /cvsroot/pgsql/src/backend/utils/time/tqual.c,v 1.62 2003/02/23 23:20:52 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -33,7 +33,8 @@ Snapshot SnapshotDirty = &SnapshotDirtyData;
Snapshot QuerySnapshot = NULL;
Snapshot SerializableSnapshot = NULL;
-/* This is updated by GetSnapshotData: */
+/* These are updated by GetSnapshotData: */
+TransactionId RecentXmin = InvalidTransactionId;
TransactionId RecentGlobalXmin = InvalidTransactionId;
bool ReferentialIntegritySnapshotOverride = false;