PostgreSQL Source Code  git master
xlogdefs.h File Reference
#include <fcntl.h>
Include dependency graph for xlogdefs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define InvalidXLogRecPtr   0
 
#define XLogRecPtrIsInvalid(r)   ((r) == InvalidXLogRecPtr)
 
#define FirstNormalUnloggedLSN   ((XLogRecPtr) 1000)
 
#define LSN_FORMAT_ARGS(lsn)   (AssertVariableIsOfTypeMacro((lsn), XLogRecPtr), (uint32) ((lsn) >> 32)), ((uint32) (lsn))
 
#define DEFAULT_SYNC_METHOD   SYNC_METHOD_FSYNC
 

Typedefs

typedef uint64 XLogRecPtr
 
typedef uint64 XLogSegNo
 
typedef uint32 TimeLineID
 
typedef uint16 RepOriginId
 

Macro Definition Documentation

◆ DEFAULT_SYNC_METHOD

#define DEFAULT_SYNC_METHOD   SYNC_METHOD_FSYNC

Definition at line 98 of file xlogdefs.h.

◆ FirstNormalUnloggedLSN

#define FirstNormalUnloggedLSN   ((XLogRecPtr) 1000)

Definition at line 36 of file xlogdefs.h.

◆ InvalidXLogRecPtr

#define InvalidXLogRecPtr   0

Definition at line 28 of file xlogdefs.h.

◆ LSN_FORMAT_ARGS

#define LSN_FORMAT_ARGS (   lsn)    (AssertVariableIsOfTypeMacro((lsn), XLogRecPtr), (uint32) ((lsn) >> 32)), ((uint32) (lsn))

Definition at line 43 of file xlogdefs.h.

◆ XLogRecPtrIsInvalid

#define XLogRecPtrIsInvalid (   r)    ((r) == InvalidXLogRecPtr)

Definition at line 29 of file xlogdefs.h.

Typedef Documentation

◆ RepOriginId

Definition at line 65 of file xlogdefs.h.

◆ TimeLineID

typedef uint32 TimeLineID

Definition at line 59 of file xlogdefs.h.

◆ XLogRecPtr

typedef uint64 XLogRecPtr

Definition at line 21 of file xlogdefs.h.

◆ XLogSegNo

typedef uint64 XLogSegNo

Definition at line 48 of file xlogdefs.h.