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.


#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))


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

Macro Definition Documentation



Definition at line 79 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.


#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.