diff options
author | Vadim B. Mikheev <vadim4o@yahoo.com> | 2000-10-28 16:21:00 +0000 |
---|---|---|
committer | Vadim B. Mikheev <vadim4o@yahoo.com> | 2000-10-28 16:21:00 +0000 |
commit | 5b0740d3fcd55f6e545e8bd577fe8ccba2be4987 (patch) | |
tree | 06cf3807f89c23d365322e08f594e6bbaaa95a3c /src/include/access/xlog.h | |
parent | 2f4c9d39febec0c092388b124bf3de2d857eb5a9 (diff) | |
download | postgresql-5b0740d3fcd55f6e545e8bd577fe8ccba2be4987.tar.gz postgresql-5b0740d3fcd55f6e545e8bd577fe8ccba2be4987.zip |
WAL
Diffstat (limited to 'src/include/access/xlog.h')
-rw-r--r-- | src/include/access/xlog.h | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/include/access/xlog.h b/src/include/access/xlog.h index c77c1cac02a..02998755c32 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; |