Signals blocked during auth - Mailing list pgsql-hackers

From Jan Wieck
Subject Signals blocked during auth
Date
Msg-id 200108212147.f7LLliF20431@jupiter.us.greatbridge.com
Whole thread Raw
Responses Re: Signals blocked during auth
List pgsql-hackers
Hi,
   fortunately  the problems with a malfunctioning client during   the authentication don't cause the v7.2  postmaster
to hang   any more (thanks to Peter and Tom). The client authentication   is moved into the forked off process.
 
   Now one little problem remains. If a bogus  client  causes  a   child  to  hang before becoming a real backend, this
childis   in the backend list of the postmaster, but  has  all  signals   blocked.  Thus, preventing the postmaster
frombeeing able to   shutdown.
 
   I think the correct behaviour should be to enable SIGTERM and   SIGQUIT  during  client  authentication and simply
exit(0)if   they occur. If so, what would be the best way  to  get  these   two signals out of the block mask?
 


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #



_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com



pgsql-hackers by date:

Previous
From: Ian Lance Taylor
Date:
Subject: Re: List response time...
Next
From: Tom Lane
Date:
Subject: Re: A fixed user id for the postgres user?