Don't unblock SIGQUIT in the SIGQUIT handler

Peter Eisentraut <peter_e@gmx.net>

Commit: d6de43099ac0bddb4b1da40088487616da892164
Author: Peter Eisentraut <peter_e@gmx.net>
Date: 2009-12-16T23:05:00Z
Releases: 9.0.0
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

PathChange+/−
src/backend/tcop/postgres.c modified +2 −1
src/include/libpq/pqsignal.h modified +2 −1