mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-03-07 19:47:50 +08:00
Make pg_ctl use SIGINT as a default shutdown signal.
The commit 0badb06
changed the default shutdown mode from smart to fast,
but forgot to change the default shutdown signal from SIGTERM to SIGINT.
This commit is contained in:
parent
ed7b3b3811
commit
7a245bfe76
@ -80,7 +80,7 @@ static bool wait_set = false;
|
||||
static int wait_seconds = DEFAULT_WAIT;
|
||||
static bool silent_mode = false;
|
||||
static ShutdownMode shutdown_mode = FAST_MODE;
|
||||
static int sig = SIGTERM; /* default */
|
||||
static int sig = SIGINT; /* default */
|
||||
static CtlCommand ctl_command = NO_COMMAND;
|
||||
static char *pg_data = NULL;
|
||||
static char *pg_config = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user