summaryrefslogtreecommitdiff
path: root/src/include/access/xlog.h
diff options
context:
space:
mode:
authorVadim B. Mikheev <vadim4o@yahoo.com>2000-07-03 02:54:21 +0000
committerVadim B. Mikheev <vadim4o@yahoo.com>2000-07-03 02:54:21 +0000
commit1b67fe17b89380d2ffb74e850e7b38737bde6c76 (patch)
treea126e8183aa9737332372808b25220a95490a4f4 /src/include/access/xlog.h
parent80c646958a14ed343a686566cb77bd92961cf589 (diff)
heap' logging
Diffstat (limited to 'src/include/access/xlog.h')
-rw-r--r--src/include/access/xlog.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/access/xlog.h b/src/include/access/xlog.h
index b5fda0b58ad..b86339f072f 100644
--- a/src/include/access/xlog.h
+++ b/src/include/access/xlog.h
@@ -68,6 +68,13 @@ typedef XLogPageHeaderData *XLogPageHeader;
#define XLP_FIRST_IS_SUBRECORD 0x0001
+/*
+ * StartUpID (SUI) - system startups counter.
+ * It's to allow removing pg_log after shutdown.
+ */
+typedef uint32 StartUpID;
+extern StartUpID ThisStartUpID;
+
extern XLogRecPtr XLogInsert(RmgrId rmid, uint8 info,
char *hdr, uint32 hdrlen,
char *buf, uint32 buflen);