Go to the documentation of this file.
58 #define SizeOfXLogRecord MAXALIGN(sizeof(XLogRecord))
60 #define XLogRecGetData(record) ((char*) (record) + SizeOfXLogRecord)
65 #define XLR_INFO_MASK 0x0F
72 #define XLR_BKP_BLOCK_MASK 0x0F
73 #define XLR_MAX_BKP_BLOCKS 4
74 #define XLR_BKP_BLOCK(iblk) (0x08 >> (iblk))
77 #define SYNC_METHOD_FSYNC 0
78 #define SYNC_METHOD_FDATASYNC 1
79 #define SYNC_METHOD_OPEN 2
80 #define SYNC_METHOD_FSYNC_WRITETHROUGH 3
81 #define SYNC_METHOD_OPEN_DSYNC 4
165 #define InHotStandby (standbyState >= STANDBY_SNAPSHOT_PENDING)
203 #define XLogArchivingActive() (XLogArchiveMode && wal_level >= WAL_LEVEL_ARCHIVE)
204 #define XLogArchiveCommandSet() (XLogArchiveCommand[0] != '\0')
210 #define XLogIsNeeded() (wal_level >= WAL_LEVEL_ARCHIVE)
213 #define XLogStandbyInfoActive() (wal_level >= WAL_LEVEL_HOT_STANDBY)
216 extern bool XLOG_DEBUG;
226 #define CHECKPOINT_IS_SHUTDOWN 0x0001
227 #define CHECKPOINT_END_OF_RECOVERY 0x0002
230 #define CHECKPOINT_IMMEDIATE 0x0004
231 #define CHECKPOINT_FORCE 0x0008
233 #define CHECKPOINT_WAIT 0x0010
235 #define CHECKPOINT_CAUSE_XLOG 0x0020
236 #define CHECKPOINT_CAUSE_TIME 0x0040
277 bool get_cleanup_lock,
bool keep_buffer);
331 #define BACKUP_LABEL_FILE "backup_label"
332 #define BACKUP_LABEL_OLD "backup_label.old"