PostgreSQL Source Code
git master
|
#include "access/rmgrlist.h"
Go to the source code of this file.
Macros | |
#define | PG_RMGR(symname, name, redo, desc, identify, startup, cleanup, mask, decode) symname, |
#define | RM_MAX_ID UINT8_MAX |
#define | RM_MAX_BUILTIN_ID (RM_NEXT_ID - 1) |
#define | RM_MIN_CUSTOM_ID 128 |
#define | RM_MAX_CUSTOM_ID UINT8_MAX |
#define | RM_N_IDS (UINT8_MAX + 1) |
#define | RM_N_BUILTIN_IDS (RM_MAX_BUILTIN_ID + 1) |
#define | RM_N_CUSTOM_IDS (RM_MAX_CUSTOM_ID - RM_MIN_CUSTOM_ID + 1) |
#define | RmgrIdIsValid(rmid) (RmgrIdIsBuiltin((rmid)) || RmgrIdIsCustom((rmid))) |
#define | RM_EXPERIMENTAL_ID 128 |
Typedefs | |
typedef uint8 | RmgrId |
typedef enum RmgrIds | RmgrIds |
Enumerations | |
enum | RmgrIds { RM_NEXT_ID } |
Functions | |
static bool | RmgrIdIsBuiltin (int rmid) |
static bool | RmgrIdIsCustom (int rmid) |
#define RM_MAX_BUILTIN_ID (RM_NEXT_ID - 1) |
#define RM_N_BUILTIN_IDS (RM_MAX_BUILTIN_ID + 1) |
#define RM_N_CUSTOM_IDS (RM_MAX_CUSTOM_ID - RM_MIN_CUSTOM_ID + 1) |
#define RmgrIdIsValid | ( | rmid | ) | (RmgrIdIsBuiltin((rmid)) || RmgrIdIsCustom((rmid))) |
|
inlinestatic |
|
inlinestatic |
Definition at line 48 of file rmgr.h.
References RM_MAX_CUSTOM_ID, and RM_MIN_CUSTOM_ID.
Referenced by main(), RegisterCustomRmgr(), and XLogDumpDisplayStats().