Prevent freshly-started backend from ignoring SIGUSR1, per race condition
authorTom Lane <[email protected]>
Wed, 20 Dec 2000 21:51:52 +0000 (21:51 +0000)
committerTom Lane <[email protected]>
Wed, 20 Dec 2000 21:51:52 +0000 (21:51 +0000)
commit39b547f43006938e93bd781ccef6f8c3610b9509
treec7f8bc6e6742ee976b3a1ccface127611c6e3c3e
parente4d97cb70efddfc07b79cc4d8490da9132cf9b26
Prevent freshly-started backend from ignoring SIGUSR1, per race condition
observed by Inoue.  Also, don't call ProcRemove() from postmaster if we
have detected a backend crash --- too risky if shared memory is corrupted.
It's not needed anyway, considering we are going to reinitialize shared
memory and semaphores as soon as the last child is dead.
src/backend/postmaster/postmaster.c
src/backend/tcop/postgres.c