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 /src/test/modules/commit_ts | |
parent | e574f15d6295b12c03ef8810c00976b65933711a (diff) | |
download | postgresql-05cd12ed5bc74c853a161c5a138a0cb6f9b0cb8a.tar.gz postgresql-05cd12ed5bc74c853a161c5a138a0cb6f9b0cb8a.zip |
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 'src/test/modules/commit_ts')
-rw-r--r-- | src/test/modules/commit_ts/t/003_standby_2.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/modules/commit_ts/t/003_standby_2.pl b/src/test/modules/commit_ts/t/003_standby_2.pl index d37ff182c4c..043ccb14a5d 100644 --- a/src/test/modules/commit_ts/t/003_standby_2.pl +++ b/src/test/modules/commit_ts/t/003_standby_2.pl @@ -55,7 +55,7 @@ $master->restart; $master->append_conf('postgresql.conf', 'track_commit_timestamp = off'); $master->restart; -system_or_bail('pg_ctl', '-w', '-D', $standby->data_dir, 'promote'); +system_or_bail('pg_ctl', '-D', $standby->data_dir, 'promote'); $standby->poll_query_until('postgres', "SELECT pg_is_in_recovery() <> true"); $standby->safe_psql('postgres', "create table t11()"); |