From 5b0740d3fcd55f6e545e8bd577fe8ccba2be4987 Mon Sep 17 00:00:00 2001 From: "Vadim B. Mikheev" Date: Sat, 28 Oct 2000 16:21:00 +0000 Subject: WAL --- src/include/access/xlog.h | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'src/include/access/xlog.h') diff --git a/src/include/access/xlog.h b/src/include/access/xlog.h index c77c1cac02..02998755c3 100644 --- a/src/include/access/xlog.h +++ b/src/include/access/xlog.h @@ -10,12 +10,7 @@ #include "access/rmgr.h" #include "access/transam.h" - -typedef struct XLogRecPtr -{ - uint32 xlogid; /* log file #, 0 based */ - uint32 xrecoff; /* offset of record in log file */ -} XLogRecPtr; +#include "access/xlogdefs.h" typedef struct XLogRecord { @@ -83,12 +78,7 @@ typedef XLogPageHeaderData *XLogPageHeader; #define XLByteEQ(left, right) \ (right.xlogid == left.xlogid && right.xrecoff == left.xrecoff) -/* - * StartUpID (SUI) - system startups counter. - * It's to allow removing pg_log after shutdown. - */ -typedef uint32 StartUpID; -extern StartUpID ThisStartUpID; +extern StartUpID ThisStartUpID; /* current SUI */ extern bool InRecovery; extern XLogRecPtr MyLastRecPtr; -- cgit v1.2.1