Don't unblock SIGQUIT in the SIGQUIT handler
Peter Eisentraut <peter_e@gmx.net>
Don't unblock SIGQUIT in the SIGQUIT handler This was possibly linked to a deadlock-like situation in glibc syslog code invoked by the ereport call in quickdie(). In any case, a signal handler should not unblock its own signal unless there is a specific reason to.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/tcop/postgres.c | modified | +2 −1 |
| src/include/libpq/pqsignal.h | modified | +2 −1 |