]> granicus.if.org Git - postgresql/commit
Fix kill() call in elog() so that it gets its own pid by calling getpid().
authorTatsuo Ishii <ishii@postgresql.org>
Fri, 16 Apr 1999 06:38:17 +0000 (06:38 +0000)
committerTatsuo Ishii <ishii@postgresql.org>
Fri, 16 Apr 1999 06:38:17 +0000 (06:38 +0000)
commit075dc252c7b887f1f5871b2c96d8f6ddf869bda2
tree067e541926e90de6e8e0cdbdacdafb22420e88e9
parente062a176a8fbbb61a4bd188b78c46e950adb8111
Fix kill() call in elog() so that it gets its own pid by calling getpid().
MyProcPid global variable is set to 0 when postgres starts as a command
(not as a backend daemon). This leads issuing SIGQUIT to the process group,
not the process itself. As a result, parent sh gets core dumped in the
Wisconsin benchmark test.
src/backend/utils/error/elog.c