summaryrefslogtreecommitdiff
path: root/src/include/access/xlogdefs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/access/xlogdefs.h')
-rw-r--r--src/include/access/xlogdefs.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/access/xlogdefs.h b/src/include/access/xlogdefs.h
index 383968c4e3f..cadecab721c 100644
--- a/src/include/access/xlogdefs.h
+++ b/src/include/access/xlogdefs.h
@@ -29,6 +29,13 @@ typedef uint64 XLogRecPtr;
#define XLogRecPtrIsInvalid(r) ((r) == InvalidXLogRecPtr)
/*
+ * First LSN to use for "fake" LSNs.
+ *
+ * Values smaller than this can be used for special per-AM purposes.
+ */
+#define FirstNormalUnloggedLSN ((XLogRecPtr) 1000)
+
+/*
* XLogSegNo - physical log file sequence number.
*/
typedef uint64 XLogSegNo;