Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
blob: ce1b3ef8cf652a5e9fc5754d7c4538f0c4a5c0e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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 */