PostgreSQL Source Code
git master
|
#include "access/transam.h"
#include "access/xlogdefs.h"
#include "pgtime.h"
#include "port/pg_crc32c.h"
Go to the source code of this file.
Data Structures | |
struct | CheckPoint |
struct | ControlFileData |
Macros | |
#define | PG_CONTROL_VERSION 1300 |
#define | MOCK_AUTH_NONCE_LEN 32 |
#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_FPI_FOR_HINT 0xA0 |
#define | XLOG_FPI 0xB0 |
#define | FLOATFORMAT_VALUE 1234567.0 |
#define | PG_CONTROL_MAX_SAFE_SIZE 512 |
#define | PG_CONTROL_FILE_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 199 of file pg_control.h.
Referenced by GuessControlValues(), ReadControlFile(), and WriteControlFile().
#define MOCK_AUTH_NONCE_LEN 32 |
Definition at line 28 of file pg_control.h.
Referenced by InitControlFile(), main(), and scram_mock_salt().
#define PG_CONTROL_FILE_SIZE 8192 |
Definition at line 248 of file pg_control.h.
Referenced by digestControlFile(), read_controlfile(), update_controlfile(), and WriteControlFile().
#define PG_CONTROL_MAX_SAFE_SIZE 512 |
Definition at line 239 of file pg_control.h.
Referenced by update_controlfile(), and WriteControlFile().
#define PG_CONTROL_VERSION 1300 |
Definition at line 25 of file pg_control.h.
Referenced by GuessControlValues(), main(), read_controlfile(), ReadControlFile(), sanityChecks(), and WriteControlFile().
#define XLOG_BACKUP_END 0x50 |
Definition at line 72 of file pg_control.h.
Referenced by DecodeXLogOp(), do_pg_stop_backup(), xlog_desc(), xlog_identify(), and xlog_redo().
#define XLOG_CHECKPOINT_ONLINE 0x10 |
Definition at line 68 of file pg_control.h.
Referenced by CreateCheckPoint(), DecodeXLogOp(), findLastCheckpoint(), ReadCheckpointRecord(), xlog_desc(), xlog_identify(), and xlog_redo().
#define XLOG_CHECKPOINT_SHUTDOWN 0x00 |
Definition at line 67 of file pg_control.h.
Referenced by BootStrapXLOG(), CreateCheckPoint(), DecodeXLogOp(), findLastCheckpoint(), ReadCheckpointRecord(), StartupXLOG(), WriteEmptyXLOG(), xlog_desc(), xlog_identify(), and xlog_redo().
#define XLOG_END_OF_RECOVERY 0x90 |
Definition at line 76 of file pg_control.h.
Referenced by CreateEndOfRecoveryRecord(), DecodeXLogOp(), StartupXLOG(), xlog_desc(), xlog_identify(), and xlog_redo().
#define XLOG_FPI 0xB0 |
Definition at line 78 of file pg_control.h.
Referenced by DecodeXLogOp(), log_newpage(), log_newpage_range(), log_newpages(), xlog_desc(), xlog_identify(), and xlog_redo().
#define XLOG_FPI_FOR_HINT 0xA0 |
Definition at line 77 of file pg_control.h.
Referenced by DecodeXLogOp(), xlog_desc(), xlog_identify(), xlog_redo(), and XLogSaveBufferForHint().
#define XLOG_FPW_CHANGE 0x80 |
Definition at line 75 of file pg_control.h.
Referenced by DecodeXLogOp(), UpdateFullPageWrites(), xlog_desc(), xlog_identify(), and xlog_redo().
#define XLOG_NEXTOID 0x30 |
Definition at line 70 of file pg_control.h.
Referenced by DecodeXLogOp(), xlog_desc(), xlog_identify(), xlog_redo(), and XLogPutNextOid().
#define XLOG_NOOP 0x20 |
Definition at line 69 of file pg_control.h.
Referenced by DecodeXLogOp(), xlog_identify(), and xlog_redo().
#define XLOG_PARAMETER_CHANGE 0x60 |
Definition at line 73 of file pg_control.h.
Referenced by DecodeXLogOp(), xlog_desc(), xlog_identify(), xlog_redo(), and XLogReportParameters().
#define XLOG_RESTORE_POINT 0x70 |
Definition at line 74 of file pg_control.h.
Referenced by DecodeXLogOp(), getRecordTimestamp(), recoveryStopsAfter(), xlog_desc(), xlog_identify(), xlog_redo(), and XLogRestorePoint().
#define XLOG_SWITCH 0x40 |
Definition at line 71 of file pg_control.h.
Referenced by DecodeXLogOp(), RequestXLogSwitch(), xlog_identify(), xlog_redo(), XLogDecodeOneRecord(), and XLogInsertRecord().
typedef struct CheckPoint CheckPoint |
typedef struct ControlFileData ControlFileData |
enum DBState |
Enumerator | |
---|---|
DB_STARTUP | |
DB_SHUTDOWNED | |
DB_SHUTDOWNED_IN_RECOVERY | |
DB_SHUTDOWNING | |
DB_IN_CRASH_RECOVERY | |
DB_IN_ARCHIVE_RECOVERY | |
DB_IN_PRODUCTION |
Definition at line 85 of file pg_control.h.