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

Commit7a245bf

Browse files
committed
Make pg_ctl use SIGINT as a default shutdown signal.
The commit0badb06 changed the default shutdown mode from smart to fast,but forgot to change the default shutdown signal from SIGTERM to SIGINT.
1 parented7b3b3 commit7a245bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/bin/pg_ctl/pg_ctl.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ static bool wait_set = false;
8080
staticintwait_seconds=DEFAULT_WAIT;
8181
staticboolsilent_mode= false;
8282
staticShutdownModeshutdown_mode=FAST_MODE;
83-
staticintsig=SIGTERM;/* default */
83+
staticintsig=SIGINT;/* default */
8484
staticCtlCommandctl_command=NO_COMMAND;
8585
staticchar*pg_data=NULL;
8686
staticchar*pg_config=NULL;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp