aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2015-03-31 11:46:27 -0400
committerBruce Momjian <bruce@momjian.us>2015-03-31 11:46:27 -0400
commit0badb069bc9f590dbc1306ccbd51e99ed81f228c (patch)
tree316443cbaf48d1c8eabf8df22a586d7019ee262e /src
parent9d9991c84e64c0c5f568b3cdaf46bb91a1368b5a (diff)
downloadpostgresql-0badb069bc9f590dbc1306ccbd51e99ed81f228c.tar.gz
postgresql-0badb069bc9f590dbc1306ccbd51e99ed81f228c.zip
pg_ctl: change default shutdown mode from 'smart' to 'fast'
Retain the order of the options in the documentation.
Diffstat (limited to 'src')
-rw-r--r--src/bin/pg_ctl/pg_ctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_ctl/pg_ctl.c b/src/bin/pg_ctl/pg_ctl.c
index 8202633d056..ea6db8c26b5 100644
--- a/src/bin/pg_ctl/pg_ctl.c
+++ b/src/bin/pg_ctl/pg_ctl.c
@@ -79,7 +79,7 @@ static bool do_wait = false;
static bool wait_set = false;
static int wait_seconds = DEFAULT_WAIT;
static bool silent_mode = false;
-static ShutdownMode shutdown_mode = SMART_MODE;
+static ShutdownMode shutdown_mode = FAST_MODE;
static int sig = SIGTERM; /* default */
static CtlCommand ctl_command = NO_COMMAND;
static char *pg_data = NULL;