diff options
Diffstat (limited to 'src/include/access/xlogdefs.h')
-rw-r--r-- | src/include/access/xlogdefs.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/include/access/xlogdefs.h b/src/include/access/xlogdefs.h new file mode 100644 index 00000000000..ce1b3ef8cf6 --- /dev/null +++ b/src/include/access/xlogdefs.h @@ -0,0 +1,24 @@ +/* + * + * xlogdefs.h + * + * Postgres transaction log manager record pointer and + * system stratup number definitions + * + */ +#ifndef XLOG_DEFS_H +#define XLOG_DEFS_H + +typedef struct XLogRecPtr +{ + uint32 xlogid; /* log file #, 0 based */ + uint32 xrecoff; /* offset of record in log file */ +} XLogRecPtr; + +/* + * StartUpID (SUI) - system startups counter. It's to allow removing + * pg_log after shutdown, in future. + */ +typedef uint32 StartUpID; + +#endif /* XLOG_DEFS_H */ |