PostgreSQL Source Code git master
|
#include <signal.h>
Go to the source code of this file.
Functions | |
void | ProcessMainLoopInterrupts (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 ProcessMainLoopInterrupts | ( | void | ) |
Definition at line 34 of file interrupt.c.
References ConfigReloadPending, LogMemoryContextPending, PGC_SIGHUP, proc_exit(), ProcessConfigFile(), ProcessGetMemoryContextInterrupt(), ProcessLogMemoryContextInterrupt(), ProcessProcSignalBarrier(), ProcSignalBarrierPending, PublishMemoryContextPending, and ShutdownRequestPending.
Referenced by BackgroundWriterMain(), and WalWriterMain().
void SignalHandlerForConfigReload | ( | SIGNAL_ARGS | ) |
Definition at line 65 of file interrupt.c.
References ConfigReloadPending, MyLatch, and SetLatch().
Referenced by ApplyLauncherMain(), autoprewarm_main(), AutoVacLauncherMain(), AutoVacWorkerMain(), BackgroundWriterMain(), CheckpointerMain(), IoWorkerMain(), ParallelApplyWorkerMain(), PgArchiverMain(), PostgresMain(), ReplSlotSyncWorkerMain(), SetupApplyOrSyncWorker(), SysLoggerMain(), WalReceiverMain(), WalSndSignals(), WalSummarizerMain(), WalWriterMain(), and worker_spi_main().
void SignalHandlerForCrashExit | ( | SIGNAL_ARGS | ) |
Definition at line 77 of file interrupt.c.
Referenced by InitPostmasterChild().
void SignalHandlerForShutdownRequest | ( | SIGNAL_ARGS | ) |
Definition at line 109 of file interrupt.c.
References MyLatch, SetLatch(), and ShutdownRequestPending.
Referenced by autoprewarm_main(), AutoVacLauncherMain(), BackgroundWriterMain(), CheckpointerMain(), IoWorkerMain(), ParallelApplyWorkerMain(), PgArchiverMain(), ReplSlotSyncWorkerMain(), WalSummarizerMain(), and WalWriterMain().
|
extern |
Definition at line 27 of file interrupt.c.
Referenced by ApplyLauncherMain(), autoprewarm_main(), CheckpointWriteDelay(), do_autovacuum(), LogicalRepApplyLoop(), PostgresMain(), ProcessAutoVacLauncherInterrupts(), ProcessCheckpointerInterrupts(), ProcessMainLoopInterrupts(), ProcessParallelApplyInterrupts(), ProcessPendingWrites(), ProcessPgArchInterrupts(), ProcessSlotSyncInterrupts(), ProcessWalSummarizerInterrupts(), 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(), AutoVacLauncherMain(), CheckpointerMain(), CheckpointWriteDelay(), IoWorkerMain(), pgarch_ArchiverCopyLoop(), pgarch_MainLoop(), ProcessAutoVacLauncherInterrupts(), ProcessMainLoopInterrupts(), ProcessParallelApplyInterrupts(), ProcessSlotSyncInterrupts(), ProcessWalSummarizerInterrupts(), and SignalHandlerForShutdownRequest().