Signals blocked during auth

Поиск
Список
Период
Сортировка
От Jan Wieck
Тема Signals blocked during auth
Дата
Msg-id 200108212147.f7LLliF20431@jupiter.us.greatbridge.com
обсуждение исходный текст
Ответы Re: Signals blocked during auth
Список 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 по дате отправления:

Предыдущее
От: Ian Lance Taylor
Дата:
Сообщение: Re: List response time...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: A fixed user id for the postgres user?