Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfd31214

Browse files
committed
Fix comments in postmaster.c.
Commit86c23a6 changed the option to specify that postgres willstop all other server processes by sending the signal SIGSTOP,from -s to -T. But previously there were comments incorrectlyexplaining that SIGSTOP behavior is set by -s option. This commitfixes them.Author: Kyotaro HoriguchiReviewed-by: Fujii MasaoDiscussion:https://postgr.es/m/20210316.165141.1400441966284654043.horikyota.ntt@gmail.com
1 parent9bacdf9 commitfd31214

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/postmaster/postmaster.c

Lines changed: 2 additions & 2 deletions
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)

[8]ページ先頭

©2009-2025 Movatter.jp