Re: bug in SignalSomeChildren
| От | Tom Lane |
|---|---|
| Тема | Re: bug in SignalSomeChildren |
| Дата | |
| Msg-id | 12099.1292869606@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Re: bug in SignalSomeChildren (Robert Haas <robertmhaas@gmail.com>) |
| Ответы |
Re: bug in SignalSomeChildren
|
| Список | pgsql-hackers |
Robert Haas <robertmhaas@gmail.com> writes:
>>> Attaching gdb to either the startup process or a WAL sender causes
>>> PostmasterIsAlive to return false, resulting in a near-immediate exit.
>>> �Seems pretty stupid for attaching gdb to change the return value of
>>> getppid() but it seems like that must be what's happening.
> Can we add a develop option to force use of the kill(0) method?
How will that avoid needing to have an honest answer from getppid()?
Without that you can't know what to issue kill() against.
Seems like the correct path here is to complain to gdb and/or BSD
upstreams about this misbehavior.
regards, tom lane
В списке pgsql-hackers по дате отправления: