summaryrefslogtreecommitdiff
path: root/src/include/storage/proc.h
diff options
context:
space:
mode:
authorVadim B. Mikheev <vadim4o@yahoo.com>1998-07-27 19:38:40 +0000
committerVadim B. Mikheev <vadim4o@yahoo.com>1998-07-27 19:38:40 +0000
commitbe8300b18f26363c0b18c62fa884a6a62e26405e (patch)
treea44ac3f51d81a7616bd9c7912fa23a5e81c9d483 /src/include/storage/proc.h
parentf7f989c9907b181f1785c699e6384e6eba8ae9a5 (diff)
downloadpostgresql-be8300b18f26363c0b18c62fa884a6a62e26405e.tar.gz
Use Snapshot in heap access methods.
Diffstat (limited to 'src/include/storage/proc.h')
-rw-r--r--src/include/storage/proc.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/include/storage/proc.h b/src/include/storage/proc.h
index f809fad7af..8b8b7e2848 100644
--- a/src/include/storage/proc.h
+++ b/src/include/storage/proc.h
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: proc.h,v 1.12 1998/06/30 02:33:33 momjian Exp $
+ * $Id: proc.h,v 1.13 1998/07/27 19:38:38 vadim Exp $
*
*-------------------------------------------------------------------------
*/
@@ -44,6 +44,14 @@ typedef struct proc
TransactionId xid; /* transaction currently being executed by
* this proc */
+#ifdef LowLevelLocking
+ TransactionId xmin; /* minimal running XID as it was when
+ * we were starting our xact: vacuum
+ * must not remove tuples deleted by
+ * xid >= xmin !
+ */
+#endif
+
LOCK *waitLock; /* Lock we're sleeping on */
int token; /* info for proc wakeup routines */
int pid; /* This procs process id */