PostgreSQL Source Code
git master
|
Go to the source code of this file.
Functions | |
void | HandleStartupProcInterrupts (void) |
void | StartupProcessMain (void) pg_attribute_noreturn() |
void | PreRestoreCommand (void) |
void | PostRestoreCommand (void) |
bool | IsPromoteTriggered (void) |
void | ResetPromoteTriggered (void) |
void HandleStartupProcInterrupts | ( | void | ) |
Definition at line 131 of file startup.c.
References got_SIGHUP, IsUnderPostmaster, PGC_SIGHUP, PostmasterIsAlive, proc_exit(), ProcessConfigFile(), and shutdown_requested.
Referenced by recoveryApplyDelay(), recoveryPausesHere(), ShutdownWalRcv(), StartupXLOG(), and WaitForWALToBecomeAvailable().
bool IsPromoteTriggered | ( | void | ) |
Definition at line 226 of file startup.c.
References promote_triggered.
Referenced by CheckForStandbyTrigger().
void PostRestoreCommand | ( | void | ) |
Definition at line 220 of file startup.c.
References in_restore_command.
Referenced by RestoreArchivedFile().
void PreRestoreCommand | ( | void | ) |
Definition at line 206 of file startup.c.
References in_restore_command, proc_exit(), and shutdown_requested.
Referenced by RestoreArchivedFile().
void ResetPromoteTriggered | ( | void | ) |
Definition at line 232 of file startup.c.
References promote_triggered.
Referenced by CheckForStandbyTrigger().
void StartupProcessMain | ( | void | ) |
Definition at line 162 of file startup.c.
References InitializeTimeouts(), PG_SETMASK, pqsignal(), proc_exit(), procsignal_sigusr1_handler(), RegisterTimeout(), SIG_DFL, SIG_IGN, SIGCHLD, SIGHUP, SIGPIPE, SIGQUIT, SIGUSR1, SIGUSR2, STANDBY_DEADLOCK_TIMEOUT, STANDBY_LOCK_TIMEOUT, STANDBY_TIMEOUT, StandbyDeadLockHandler(), StandbyLockTimeoutHandler(), StandbyTimeoutHandler(), startupproc_quickdie(), StartupProcShutdownHandler(), StartupProcSigHupHandler(), StartupProcTriggerHandler(), StartupXLOG(), and UnBlockSig.
Referenced by AuxiliaryProcessMain().