Skip to content
Snippets Groups Projects
Commit 075dc252 authored by Tatsuo Ishii's avatar Tatsuo Ishii
Browse files

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.
parent e062a176
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment