1 /*-------------------------------------------------------------------------
4 * Interrupt handling routines.
6 * Responses to interrupts are fairly varied and many types of backends
7 * have their own implementations, but we provide a few generic things
8 * here to facilitate code reuse.
10 * Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
11 * Portions Copyright (c) 1994, Regents of the University of California
14 * src/include/postmaster/interrupt.h
16 *-------------------------------------------------------------------------
24 extern PGDLLIMPORT
volatile sig_atomic_t ConfigReloadPending
;
25 extern PGDLLIMPORT
volatile sig_atomic_t ShutdownRequestPending
;
27 extern void HandleMainLoopInterrupts(void);
28 extern void SignalHandlerForConfigReload(SIGNAL_ARGS
);
29 extern void SignalHandlerForCrashExit(SIGNAL_ARGS
);
30 extern void SignalHandlerForShutdownRequest(SIGNAL_ARGS
);