Skip to content

Commit fd31214

Browse files
committed
Fix comments in postmaster.c.
Commit 86c23a6 changed the option to specify that postgres will stop all other server processes by sending the signal SIGSTOP, from -s to -T. But previously there were comments incorrectly explaining that SIGSTOP behavior is set by -s option. This commit fixes them. Author: Kyotaro Horiguchi Reviewed-by: Fujii Masao Discussion: https://postgr.es/m/20210316.165141.1400441966284654043.horikyota.ntt@gmail.com
1 parent 9bacdf9 commit fd31214

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/postmaster/postmaster.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -3472,7 +3472,7 @@ HandleChildCrash(int pid, int exitstatus, const char *procname)
34723472
*
34733473
* SIGQUIT is the special signal that says exit without proc_exit
34743474
* and let the user know what's going on. But if SendStop is set
3475-
* (-s on command line), then we send SIGSTOP instead, so that we
3475+
* (-T on command line), then we send SIGSTOP instead, so that we
34763476
* can get core dumps from all backends by hand.
34773477
*/
34783478
if (take_action)
@@ -3515,7 +3515,7 @@ HandleChildCrash(int pid, int exitstatus, const char *procname)
35153515
*
35163516
* SIGQUIT is the special signal that says exit without proc_exit
35173517
* and let the user know what's going on. But if SendStop is set
3518-
* (-s on command line), then we send SIGSTOP instead, so that we
3518+
* (-T on command line), then we send SIGSTOP instead, so that we
35193519
* can get core dumps from all backends by hand.
35203520
*
35213521
* We could exclude dead_end children here, but at least in the

0 commit comments

Comments
 (0)