aboutsummaryrefslogtreecommitdiff
path: root/src/include/utils/snapshot.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/utils/snapshot.h')
-rw-r--r--src/include/utils/snapshot.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/include/utils/snapshot.h b/src/include/utils/snapshot.h
index 7dca978ee98..20d971a102a 100644
--- a/src/include/utils/snapshot.h
+++ b/src/include/utils/snapshot.h
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/utils/snapshot.h,v 1.1 2008/03/26 16:20:48 alvherre Exp $
+ * $PostgreSQL: pgsql/src/include/utils/snapshot.h,v 1.2 2008/03/26 21:10:39 alvherre Exp $
*
*-------------------------------------------------------------------------
*/
@@ -59,4 +59,17 @@ typedef struct SnapshotData
CommandId curcid; /* in my xact, CID < curcid are visible */
} SnapshotData;
+/*
+ * Result codes for HeapTupleSatisfiesUpdate. This should really be in
+ * tqual.h, but we want to avoid including that file elsewhere.
+ */
+typedef enum
+{
+ HeapTupleMayBeUpdated,
+ HeapTupleInvisible,
+ HeapTupleSelfUpdated,
+ HeapTupleUpdated,
+ HeapTupleBeingUpdated
+} HTSU_Result;
+
#endif /* SNAPSHOT_H */