#include <signal.h>
Go to the source code of this file.
Definition at line 47 of file pmsignal.h.
Definition at line 107 of file pmsignal.h.
Definition at line 60 of file pmsignal.h.
Definition at line 33 of file pmsignal.h.
Enumerator | |
---|---|
PMQUIT_NOT_SENT | |
PMQUIT_FOR_CRASH | |
PMQUIT_FOR_STOP |
Definition at line 52 of file pmsignal.h.
Definition at line 182 of file pmsignal.c.
References PMSignalData::PMSignalFlags, and PMSignalState.
Referenced by process_pm_pmsignal().
Definition at line 213 of file pmsignal.c.
References IsUnderPostmaster, PMQUIT_NOT_SENT, PMSignalState, and PMSignalData::sigquit_reason.
Referenced by quickdie().
Definition at line 271 of file pmsignal.c.
References Assert(), num_child_flags, PM_CHILD_WALSENDER, PMSignalData::PMChildFlags, and PMSignalState.
Referenced by CountChildren(), and SignalChildren().
Definition at line 230 of file pmsignal.c.
References Assert(), elog, FATAL, num_child_flags, PM_CHILD_ASSIGNED, PM_CHILD_UNUSED, PMSignalData::PMChildFlags, and PMSignalState.
Referenced by AssignPostmasterChildSlot().
Definition at line 249 of file pmsignal.c.
References Assert(), num_child_flags, PM_CHILD_ASSIGNED, PM_CHILD_UNUSED, PMSignalData::PMChildFlags, and PMSignalState.
Referenced by ReleasePostmasterChildSlot().
Definition at line 309 of file pmsignal.c.
References am_walsender, Assert(), MyPMChildSlot, num_child_flags, PM_CHILD_ACTIVE, PM_CHILD_WALSENDER, PMSignalData::PMChildFlags, and PMSignalState.
Referenced by InitWalSender().
Definition at line 145 of file pmsignal.c.
References MaxLivePostmasterChildren(), MemSet, PMSignalData::num_child_flags, num_child_flags, PMSignalShmemSize(), PMSignalState, ShmemInitStruct(), and unvolatize.
Referenced by CreateOrAttachShmemStructs().
Definition at line 130 of file pmsignal.c.
References add_size(), MaxLivePostmasterChildren(), and mul_size().
Referenced by CalculateShmemSize(), and PMSignalShmemInit().
Definition at line 407 of file pmsignal.c.
References elog, ERROR, and pqsignal.
Referenced by InitPostmasterChild().
Definition at line 346 of file pmsignal.c.
References EAGAIN, elog, EWOULDBLOCK, FATAL, postmaster_alive_fds, POSTMASTER_FD_WATCH, and read.
Referenced by WaitEventSetWaitBlock().
Definition at line 290 of file pmsignal.c.
References Assert(), MarkPostmasterChildInactive(), MyPMChildSlot, num_child_flags, on_shmem_exit(), PM_CHILD_ACTIVE, PM_CHILD_ASSIGNED, PMSignalData::PMChildFlags, and PMSignalState.
Referenced by InitAuxiliaryProcess(), and InitProcess().
Definition at line 165 of file pmsignal.c.
References IsUnderPostmaster, kill, PMSignalData::PMSignalFlags, PMSignalState, PostmasterPid, and SIGUSR1.
Referenced by AutoVacLauncherMain(), CheckpointerMain(), CheckRecoveryConsistency(), do_start_worker(), GetNewMultiXactId(), GetNewTransactionId(), InitWalSender(), PerformWalRecovery(), pg_rotate_logfile(), RegisterDynamicBackgroundWorker(), RequestXLogStreaming(), SetMultiXactIdLimit(), SetTransactionIdLimit(), and TerminateBackgroundWorker().
Definition at line 202 of file pmsignal.c.
References PMSignalState, and PMSignalData::sigquit_reason.
Referenced by HandleFatalError(), and process_pm_shutdown_request().