Re: SIGHUP not received by custom bgworkers if postmaster is notified
От | Michael Paquier |
---|---|
Тема | Re: SIGHUP not received by custom bgworkers if postmaster is notified |
Дата | |
Msg-id | CAB7nPqRSKi0SqAbD0VQOfqXzQfSMZnjCwoGOuDkEGT7brGFt5g@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: SIGHUP not received by custom bgworkers if postmaster is notified (Alvaro Herrera <alvherre@2ndquadrant.com>) |
Список | pgsql-hackers |
<div dir="ltr">Thanks for committing the fix!<br /><div class="gmail_extra"><br /><div class="gmail_quote">On Thu, Apr 11,2013 at 4:11 AM, Alvaro Herrera <span dir="ltr"><<a href="mailto:alvherre@2ndquadrant.com" target="_blank">alvherre@2ndquadrant.com</a>></span>wrote:<br /><blockquote class="gmail_quote" style="margin:0px 0px0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Michael Paquier escribió:<br /><div class="im">>Hi all,<br /> ><br /> > Please find attached a simple example of bgworker that logs a message each<br/> > time a SIGTERM or SIGHUP signal is received by it:<br /> > - "hello signal: processed SIGHUP" when SIGHUPis handled by my example<br /> > - "hello signal: processed SIGTERM" when SIGTERM is handled by my example<br /><br/></div>I committed some improvements to worker_spi this morning that I think<br /> enough demostrate signal handlingcapabilities, which I think is what<br /> your submitted code would do. If you see more use for a separate body<br/> of sample worker code, by all means do submit that.<br /></blockquote></div>Sure.<br />-- <br />Michael<br /></div></div>
В списке pgsql-hackers по дате отправления: