11 #ifndef XLOGRECOVERY_H
12 #define XLOGRECOVERY_H
83 bool *wasShutdown_ptr,
bool *haveBackupLabel_ptr,
84 bool *haveTblspcMap_ptr);
bool standby_signal_file_found
XLogRecPtr lastPageBeginPtr
char * recoveryStopReason
XLogRecPtr missingContrecPtr
bool recovery_signal_file_found
static ControlFileData * ControlFile
bool HotStandbyActive(void)
PGDLLIMPORT int recovery_min_apply_delay
void ShutdownWalRecovery(void)
PGDLLIMPORT TimeLineID recoveryTargetTLIRequested
PGDLLIMPORT TimeLineID recoveryTargetTLI
PGDLLIMPORT TimestampTz recoveryTargetTime
void StartupRequestWalReceiverRestart(void)
void RecoveryRequiresIntParameter(const char *param_name, int currValue, int minValue)
void PerformWalRecovery(void)
bool CheckPromoteSignal(void)
PGDLLIMPORT char * PrimarySlotName
void SetRecoveryPause(bool recoveryPause)
EndOfWalRecoveryInfo * FinishWalRecovery(void)
XLogRecPtr GetCurrentReplayRecPtr(TimeLineID *replayEndTLI)
@ RECOVERY_TARGET_IMMEDIATE
void WakeupRecovery(void)
void xlog_outdesc(StringInfo buf, XLogReaderState *record)
bool PromoteIsTriggered(void)
TimestampTz GetCurrentChunkReplayStartTime(void)
PGDLLIMPORT XLogRecPtr recoveryTargetLSN
PGDLLIMPORT RecoveryTargetTimeLineGoal recoveryTargetTimeLineGoal
PGDLLIMPORT bool wal_receiver_create_temp_slot
XLogRecPtr GetXLogReplayRecPtr(TimeLineID *replayTLI)
void GetXLogReceiptTime(TimestampTz *rtime, bool *fromStream)
PGDLLIMPORT RecoveryTargetType recoveryTarget
RecoveryTargetTimeLineGoal
@ RECOVERY_TARGET_TIMELINE_NUMERIC
@ RECOVERY_TARGET_TIMELINE_CONTROLFILE
@ RECOVERY_TARGET_TIMELINE_LATEST
@ RECOVERY_PAUSE_REQUESTED
PGDLLIMPORT bool StandbyMode
void InitWalRecovery(ControlFileData *ControlFile, bool *wasShutdown_ptr, bool *haveBackupLabel_ptr, bool *haveTblspcMap_ptr)
Size XLogRecoveryShmemSize(void)
PGDLLIMPORT bool recoveryTargetInclusive
RecoveryPauseState GetRecoveryPauseState(void)
void XLogRecoveryShmemInit(void)
PGDLLIMPORT char * recoveryEndCommand
PGDLLIMPORT char * recovery_target_time_string
TimestampTz GetLatestXTime(void)
void XLogRequestWalReceiverReply(void)
PGDLLIMPORT const char * recoveryTargetName
PGDLLIMPORT bool reachedConsistency
void RemovePromoteSignalFiles(void)
PGDLLIMPORT TransactionId recoveryTargetXid
PGDLLIMPORT char * PrimaryConnInfo
PGDLLIMPORT char * archiveCleanupCommand
PGDLLIMPORT char * recoveryRestoreCommand
PGDLLIMPORT int recoveryTargetAction