Exit backend from SIGTERM or FATAL by simulating client EOF, rather than
Bruce Momjian <bruce@momjian.us>
Exit backend from SIGTERM or FATAL by simulating client EOF, rather than calling proc_exit() directly. This should make SIGTERM more reliable.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/tcop/postgres.c | modified | +7 −3 |
| src/backend/utils/error/elog.c | modified | +9 −2 |
| src/include/tcop/tcopprot.h | modified | +2 −1 |