Commit 7a245bfe authored by Fujii Masao's avatar Fujii Masao

Make pg_ctl use SIGINT as a default shutdown signal.

The commit 0badb069 changed the default shutdown mode from smart to fast,
but forgot to change the default shutdown signal from SIGTERM to SIGINT.
parent ed7b3b38
...@@ -80,7 +80,7 @@ static bool wait_set = false; ...@@ -80,7 +80,7 @@ static bool wait_set = false;
static int wait_seconds = DEFAULT_WAIT; static int wait_seconds = DEFAULT_WAIT;
static bool silent_mode = false; static bool silent_mode = false;
static ShutdownMode shutdown_mode = FAST_MODE; static ShutdownMode shutdown_mode = FAST_MODE;
static int sig = SIGTERM; /* default */ static int sig = SIGINT; /* default */
static CtlCommand ctl_command = NO_COMMAND; static CtlCommand ctl_command = NO_COMMAND;
static char *pg_data = NULL; static char *pg_data = NULL;
static char *pg_config = NULL; static char *pg_config = NULL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment