From 05cd12ed5bc74c853a161c5a138a0cb6f9b0cb8a Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Fri, 13 Jan 2017 12:00:00 -0500 Subject: 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 Reviewed-by: Ryan Murphy --- src/test/modules/commit_ts/t/003_standby_2.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test/modules/commit_ts') 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()"); -- cgit v1.2.3