mirror of
https://github.com/postgres/postgres.git
synced 2025-10-24 01:29:19 +03:00
WAL
This commit is contained in:
24
src/include/access/xlogdefs.h
Normal file
24
src/include/access/xlogdefs.h
Normal file
@@ -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 */
|
||||
Reference in New Issue
Block a user