Robert Haas <robertmh...@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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers