PostgreSQL Source Code
git master
|
#include "c.h"
#include <signal.h>
#include <unistd.h>
#include "libpq/pqsignal.h"
#include "miscadmin.h"
Go to the source code of this file.
Macros | |
#define | PG_NSIG (64) /* XXX: wild guess */ |
Functions | |
StaticAssertDecl (SIGUSR2< PG_NSIG, "SIGUSR2 >= PG_NSIG") | |
static void | wrapper_handler (SIGNAL_ARGS) |
pqsigfunc | pqsignal (int signo, pqsigfunc func) |
Variables | |
static volatile pqsigfunc | pqsignal_handlers [PG_NSIG] |
#define PG_NSIG (64) /* XXX: wild guess */ |
Definition at line 63 of file pqsignal.c.
Definition at line 129 of file pqsignal.c.
References SIG_ERR, SIGALRM, and SIGCHLD.
Referenced by ApplyLauncherMain(), autoprewarm_database_main(), autoprewarm_main(), AutoVacWorkerMain(), BackendInitialize(), BackgroundWorkerMain(), BackgroundWriterMain(), bootstrap_signals(), CheckpointerMain(), disable_sigpipe_trap(), do_start(), InitializeLatchSupport(), InitializeTimeouts(), InitPostmasterChild(), main(), make_temp_sockdir(), OpenPipeStream(), ParallelApplyWorkerMain(), ParallelBackupStart(), ParallelWorkerMain(), PgArchiverMain(), plperl_init_interp(), PostgresMain(), PostmasterDeathSignalInit(), PostmasterMain(), ReplSlotSyncWorkerMain(), restore_sigpipe_trap(), set_cancel_handler(), setalarm(), setup_cancel_handler(), setup_signals(), SetupApplyOrSyncWorker(), ShutdownLatchSupport(), signal_remove_temp(), sigTermHandler(), StartupProcessMain(), SysLoggerMain(), test_shm_mq_main(), trap_sigint_during_startup(), trapsig(), WalReceiverMain(), WalSndSignals(), WalSummarizerMain(), WalWriterMain(), and worker_spi_main().
StaticAssertDecl | ( | ) |
|
static |
Definition at line 87 of file pqsignal.c.
Definition at line 72 of file pqsignal.c.