diff options
author | Fujii Masao | 2021-03-19 02:28:54 +0000 |
---|---|---|
committer | Fujii Masao | 2021-03-19 02:28:54 +0000 |
commit | fd31214075cc740e43edc71ca1c385c8c53047b7 (patch) | |
tree | 3065af963f50e4733801183b6955bcd6f8f01b9c | |
parent | 9bacdf9f536a3720976ae258238cb46c691ce9b2 (diff) |
Fix comments in postmaster.c.
Commit 86c23a6eb2 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
-rw-r--r-- | src/backend/postmaster/postmaster.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/postmaster/postmaster.c b/src/backend/postmaster/postmaster.c index fc9c769bc66..ef0be4ca381 100644 --- a/src/backend/postmaster/postmaster.c +++ b/src/backend/postmaster/postmaster.c @@ -3472,7 +3472,7 @@ HandleChildCrash(int pid, int exitstatus, const char *procname) * * SIGQUIT is the special signal that says exit without proc_exit * and let the user know what's going on. But if SendStop is set - * (-s on command line), then we send SIGSTOP instead, so that we + * (-T on command line), then we send SIGSTOP instead, so that we * can get core dumps from all backends by hand. */ if (take_action) @@ -3515,7 +3515,7 @@ HandleChildCrash(int pid, int exitstatus, const char *procname) * * SIGQUIT is the special signal that says exit without proc_exit * and let the user know what's going on. But if SendStop is set - * (-s on command line), then we send SIGSTOP instead, so that we + * (-T on command line), then we send SIGSTOP instead, so that we * can get core dumps from all backends by hand. * * We could exclude dead_end children here, but at least in the |