Per previous discussions, here are two functions to send INT and TERM
Bruce Momjian <bruce@momjian.us>
Per previous discussions, here are two functions to send INT and TERM (cancel and terminate) signals to other backends. They permit only INT and TERM, and permits sending only to postgresql backends. Magnus Hagander
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/storage/ipc/sinval.c | modified | +35 −1 |
| src/backend/utils/adt/misc.c | modified | +47 −1 |
| src/include/catalog/catversion.h | modified | +2 −2 |
| src/include/catalog/pg_proc.h | modified | +6 −1 |
| src/include/storage/sinval.h | modified | +2 −1 |
| src/include/utils/builtins.h | modified | +3 −1 |