| От | Florian Weimer |
|---|---|
| Тема | Re: Bug in signal handler |
| Дата | |
| Msg-id | 87hd3v6wxg.fsf@mid.deneb.enyo.de обсуждение |
| Ответ на | Re: Bug in signal handler (Martijn van Oosterhout <kleptog@svana.org>) |
| Список | pgsql-hackers |
* Martijn van Oosterhout: >> The fact remains that the postmaster has *always* been coded like that, >> and we have *never* seen any problems. Barring proof that there is a >> problem, I'm uninterested in rewriting it just because someone doesn't >> like it. > > It should probably also be remembered that the "fix" would involve either > polling the status by having select() return more often, or using > sigsetjmp/siglongjmp. The cure is definitly worse than the disease. The standard trick is to add a pipe to the select and write to that from the signal handler. I'm not sure if it's worth the effort, though.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера