]> granicus.if.org Git - postgresql/commit
Don't unblock SIGQUIT in the SIGQUIT handler
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 16 Dec 2009 23:05:00 +0000 (23:05 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Wed, 16 Dec 2009 23:05:00 +0000 (23:05 +0000)
commitd6de43099ac0bddb4b1da40088487616da892164
tree2705bf475ff118af9b6c25484db0945d731bc18d
parentb63b967a7e68c0f157958406aaa78285ba6e5dd7
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.
src/backend/tcop/postgres.c
src/include/libpq/pqsignal.h