Provide support for multiplexing SIGUSR1 signal. The upcoming synchronous
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Provide support for multiplexing SIGUSR1 signal. The upcoming synchronous replication patch needs a signal, but we've already used SIGUSR1 and SIGUSR2 in normal backends. This patch allows reusing SIGUSR1 for that, and for other purposes too if the need arises.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/twophase.c | modified | +2 −1 |
| src/backend/commands/async.c | modified | +6 −5 |
| src/backend/postmaster/autovacuum.c | modified | +2 −2 |
| src/backend/storage/ipc/sinvaladt.c | modified | +20 −17 |
| src/backend/storage/ipc/sinval.c | modified | +10 −13 |
| src/backend/storage/lmgr/proc.c | modified | +51 −1 |
| src/backend/tcop/postgres.c | modified | +19 −2 |
| src/include/storage/proc.h | modified | +29 −1 |
| src/include/storage/sinval.h | modified | +2 −2 |
| src/include/tcop/tcopprot.h | modified | +2 −1 |