projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed7b3b3
)
Make pg_ctl use SIGINT as a default shutdown signal.
author
Fujii Masao
<fujii@postgresql.org>
Tue, 31 Mar 2015 17:10:24 +0000
(
02:10
+0900)
committer
Fujii Masao
<fujii@postgresql.org>
Tue, 31 Mar 2015 17:10:24 +0000
(
02:10
+0900)
The commit
0badb06
changed the default shutdown mode from smart to fast,
but forgot to change the default shutdown signal from SIGTERM to SIGINT.
src/bin/pg_ctl/pg_ctl.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_ctl/pg_ctl.c
b/src/bin/pg_ctl/pg_ctl.c
index ea6db8c26b5b37e7d76ecfded97164ef96640f93..80d7bc7ba678167d0fdd1349bc17270fb5afe65b 100644
(file)
--- a/
src/bin/pg_ctl/pg_ctl.c
+++ b/
src/bin/pg_ctl/pg_ctl.c
@@
-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 = SIG
TERM;
/* default */
+static int sig = SIG
INT;
/* default */
static CtlCommand ctl_command = NO_COMMAND;
static char *pg_data = NULL;
static char *pg_config = NULL;