#include "access/xlogdefs.h"
#include "pgtime.h"
#include "utils/pg_crc.h"
Go to the source code of this file.
Data Structures | |
struct | CheckPoint |
struct | ControlFileData |
Defines | |
#define | PG_CONTROL_VERSION 937 |
#define | XLOG_CHECKPOINT_SHUTDOWN 0x00 |
#define | XLOG_CHECKPOINT_ONLINE 0x10 |
#define | XLOG_NOOP 0x20 |
#define | XLOG_NEXTOID 0x30 |
#define | XLOG_SWITCH 0x40 |
#define | XLOG_BACKUP_END 0x50 |
#define | XLOG_PARAMETER_CHANGE 0x60 |
#define | XLOG_RESTORE_POINT 0x70 |
#define | XLOG_FPW_CHANGE 0x80 |
#define | XLOG_END_OF_RECOVERY 0x90 |
#define | XLOG_HINT 0xA0 |
#define | FLOATFORMAT_VALUE 1234567.0 |
#define | PG_CONTROL_SIZE 8192 |
Typedefs | |
typedef struct CheckPoint | CheckPoint |
typedef enum DBState | DBState |
typedef struct ControlFileData | ControlFileData |
Enumerations | |
enum | DBState { DB_STARTUP = 0, DB_SHUTDOWNED, DB_SHUTDOWNED_IN_RECOVERY, DB_SHUTDOWNING, DB_IN_CRASH_RECOVERY, DB_IN_ARCHIVE_RECOVERY, DB_IN_PRODUCTION } |
#define FLOATFORMAT_VALUE 1234567.0 |
Definition at line 192 of file pg_control.h.
Referenced by ReadControlFile().
#define PG_CONTROL_SIZE 8192 |
Definition at line 230 of file pg_control.h.
Referenced by ReadControlFile(), RewriteControlFile(), and WriteControlFile().
#define PG_CONTROL_VERSION 937 |
Definition at line 24 of file pg_control.h.
Referenced by ReadControlFile().
#define XLOG_BACKUP_END 0x50 |
Definition at line 65 of file pg_control.h.
Referenced by do_pg_stop_backup(), xlog_desc(), and xlog_redo().
#define XLOG_CHECKPOINT_ONLINE 0x10 |
Definition at line 61 of file pg_control.h.
Referenced by CreateCheckPoint(), ReadCheckpointRecord(), xlog_desc(), and xlog_redo().
#define XLOG_CHECKPOINT_SHUTDOWN 0x00 |
Definition at line 60 of file pg_control.h.
Referenced by CreateCheckPoint(), ReadCheckpointRecord(), StartupXLOG(), xlog_desc(), and xlog_redo().
#define XLOG_END_OF_RECOVERY 0x90 |
Definition at line 69 of file pg_control.h.
Referenced by CreateEndOfRecoveryRecord(), StartupXLOG(), xlog_desc(), and xlog_redo().
#define XLOG_FPW_CHANGE 0x80 |
Definition at line 68 of file pg_control.h.
Referenced by UpdateFullPageWrites(), xlog_desc(), and xlog_redo().
#define XLOG_HINT 0xA0 |
Definition at line 70 of file pg_control.h.
Referenced by xlog_desc(), xlog_redo(), and XLogSaveBufferForHint().
#define XLOG_NEXTOID 0x30 |
Definition at line 63 of file pg_control.h.
Referenced by xlog_desc(), xlog_redo(), and XLogPutNextOid().
#define XLOG_NOOP 0x20 |
Definition at line 62 of file pg_control.h.
Referenced by xlog_desc(), and xlog_redo().
#define XLOG_PARAMETER_CHANGE 0x60 |
Definition at line 66 of file pg_control.h.
Referenced by xlog_desc(), xlog_redo(), and XLogReportParameters().
#define XLOG_RESTORE_POINT 0x70 |
Definition at line 67 of file pg_control.h.
Referenced by recoveryStopsHere(), xlog_desc(), xlog_redo(), and XLogRestorePoint().
#define XLOG_SWITCH 0x40 |
Definition at line 64 of file pg_control.h.
Referenced by RequestXLogSwitch(), ValidXLogRecordHeader(), xlog_desc(), xlog_redo(), and XLogReadRecord().
typedef struct CheckPoint CheckPoint |
typedef struct ControlFileData ControlFileData |
enum DBState |
DB_STARTUP | |
DB_SHUTDOWNED | |
DB_SHUTDOWNED_IN_RECOVERY | |
DB_SHUTDOWNING | |
DB_IN_CRASH_RECOVERY | |
DB_IN_ARCHIVE_RECOVERY | |
DB_IN_PRODUCTION |
Definition at line 77 of file pg_control.h.
{ DB_STARTUP = 0, DB_SHUTDOWNED, DB_SHUTDOWNED_IN_RECOVERY, DB_SHUTDOWNING, DB_IN_CRASH_RECOVERY, DB_IN_ARCHIVE_RECOVERY, DB_IN_PRODUCTION } DBState;