PostgreSQL Source Code
git master
|
#include <signal.h>
Go to the source code of this file.
Functions | |
void | HandleMainLoopInterrupts (void) |
void | SignalHandlerForConfigReload (SIGNAL_ARGS) |
void | SignalHandlerForCrashExit (SIGNAL_ARGS) |
void | SignalHandlerForShutdownRequest (SIGNAL_ARGS) |
Variables | |
PGDLLIMPORT volatile sig_atomic_t | ConfigReloadPending |
PGDLLIMPORT volatile sig_atomic_t | ShutdownRequestPending |
void HandleMainLoopInterrupts | ( | void | ) |
Definition at line 34 of file interrupt.c.
References ConfigReloadPending, LogMemoryContextPending, PGC_SIGHUP, proc_exit(), ProcessConfigFile(), ProcessLogMemoryContextInterrupt(), ProcessProcSignalBarrier(), ProcSignalBarrierPending, and ShutdownRequestPending.
Referenced by BackgroundWriterMain(), and WalWriterMain().
void SignalHandlerForConfigReload | ( | SIGNAL_ARGS | ) |
Definition at line 61 of file interrupt.c.
References ConfigReloadPending, MyLatch, and SetLatch().
Referenced by ApplyLauncherMain(), autoprewarm_main(), AutoVacWorkerMain(), BackgroundWriterMain(), CheckpointerMain(), ParallelApplyWorkerMain(), PgArchiverMain(), PostgresMain(), ReplSlotSyncWorkerMain(), SetupApplyOrSyncWorker(), SysLoggerMain(), WalReceiverMain(), WalSndSignals(), WalSummarizerMain(), WalWriterMain(), and worker_spi_main().
void SignalHandlerForCrashExit | ( | SIGNAL_ARGS | ) |
void SignalHandlerForShutdownRequest | ( | SIGNAL_ARGS | ) |
Definition at line 105 of file interrupt.c.
References MyLatch, SetLatch(), and ShutdownRequestPending.
Referenced by autoprewarm_main(), BackgroundWriterMain(), CheckpointerMain(), ParallelApplyWorkerMain(), PgArchiverMain(), ReplSlotSyncWorkerMain(), WalReceiverMain(), WalSummarizerMain(), and WalWriterMain().
|
extern |
Definition at line 27 of file interrupt.c.
Referenced by ApplyLauncherMain(), autoprewarm_main(), CheckpointWriteDelay(), do_autovacuum(), HandleAutoVacLauncherInterrupts(), HandleCheckpointerInterrupts(), HandleMainLoopInterrupts(), HandlePgArchInterrupts(), HandleWalSummarizerInterrupts(), LogicalRepApplyLoop(), PostgresMain(), ProcessParallelApplyInterrupts(), ProcessPendingWrites(), ProcessSlotSyncInterrupts(), SignalHandlerForConfigReload(), slotsync_reread_config(), SysLoggerMain(), vacuum_delay_point(), WaitForStandbyConfirmation(), WalReceiverMain(), WalSndLoop(), WalSndWaitForWal(), and worker_spi_main().
|
extern |
Definition at line 28 of file interrupt.c.
Referenced by apw_load_buffers(), autoprewarm_main(), CheckpointWriteDelay(), HandleAutoVacLauncherInterrupts(), HandleCheckpointerInterrupts(), HandleMainLoopInterrupts(), HandleWalSummarizerInterrupts(), pgarch_ArchiverCopyLoop(), pgarch_MainLoop(), ProcessParallelApplyInterrupts(), ProcessSlotSyncInterrupts(), ProcessWalRcvInterrupts(), and SignalHandlerForShutdownRequest().