diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2017-01-13 12:00:00 -0500 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2017-01-14 09:15:08 -0500 |
commit | 05cd12ed5bc74c853a161c5a138a0cb6f9b0cb8a (patch) | |
tree | a9af278974518bbf8b7c23c98c3a8ee001844c5f /contrib/start-scripts/osx/PostgreSQL | |
parent | e574f15d6295b12c03ef8810c00976b65933711a (diff) | |
download | postgresql-05cd12ed5bc74c853a161c5a138a0cb6f9b0cb8a.tar.gz |
pg_ctl: Change default to wait for all actions
The different actions in pg_ctl had different defaults for -w and -W,
mostly for historical reasons. Most users will want the -w behavior, so
make that the default.
Remove the -w option in most example and test code, so avoid confusion
and reduce verbosity. pg_upgrade is not touched, so it can continue to
work with older installations.
Reviewed-by: Beena Emerson <memissemerson@gmail.com>
Reviewed-by: Ryan Murphy <ryanfmurphy@gmail.com>
Diffstat (limited to 'contrib/start-scripts/osx/PostgreSQL')
-rwxr-xr-x | contrib/start-scripts/osx/PostgreSQL | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/start-scripts/osx/PostgreSQL b/contrib/start-scripts/osx/PostgreSQL index 48c098c8f1..9735c8c57f 100755 --- a/contrib/start-scripts/osx/PostgreSQL +++ b/contrib/start-scripts/osx/PostgreSQL @@ -65,8 +65,7 @@ ROTATESEC="604800" PATH="$prefix/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin" # What to use to start up the postmaster. (If you want the script to wait -# until the server has started, you could use "pg_ctl start -w" here. -# But without -w, pg_ctl adds no value.) +# until the server has started, you could use "pg_ctl start" here.) DAEMON="$prefix/bin/postmaster" # What to use to shut down the postmaster |