summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/storage/lock.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/storage/lock.h b/src/include/storage/lock.h
index 7fb4841d9a8..f2d7aaecd7b 100644
--- a/src/include/storage/lock.h
+++ b/src/include/storage/lock.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $PostgreSQL: pgsql/src/include/storage/lock.h,v 1.111 2008/01/01 19:45:59 momjian Exp $
+ * $PostgreSQL: pgsql/src/include/storage/lock.h,v 1.112 2008/01/08 23:18:51 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -186,6 +186,8 @@ typedef enum LockTagType
LOCKTAG_ADVISORY /* advisory user locks */
} LockTagType;
+#define LOCKTAG_LAST_TYPE LOCKTAG_ADVISORY
+
/*
* The LOCKTAG struct is defined with malice aforethought to fit into 16
* bytes with no padding. Note that this would need adjustment if we were