pgsql: pg_ctl: Change default to wait for all actions

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: pg_ctl: Change default to wait for all actions
Date: 2017-01-14 14:18:32
Message-ID: E1cSPA8-0008Tj-Ki@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)gmail(dot)com>
Reviewed-by: Ryan Murphy <ryanfmurphy(at)gmail(dot)com>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/05cd12ed5bc74c853a161c5a138a0cb6f9b0cb8a

Modified Files
--------------
contrib/start-scripts/freebsd | 5 ++--
contrib/start-scripts/linux | 5 ++--
contrib/start-scripts/osx/PostgreSQL | 3 +--
doc/src/sgml/ref/pg_ctl-ref.sgml | 36 ++++++++++++++-------------
src/bin/pg_ctl/pg_ctl.c | 15 ++---------
src/bin/pg_ctl/t/001_start_stop.pl | 18 +++++++-------
src/bin/pg_ctl/t/003_promote.pl | 10 ++++----
src/test/modules/commit_ts/t/003_standby_2.pl | 2 +-
src/test/perl/PostgresNode.pm | 12 ++++-----
src/tools/msvc/vcregress.pl | 4 +--
10 files changed, 49 insertions(+), 61 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Magnus Hagander 2017-01-14 16:18:22 pgsql: Change default values for backup and replication parameters
Previous Message Amit Langote 2017-01-14 04:41:57 Re: pgsql: Fix some more regression test row-order-instability issues.