pg_ctl: Change default to wait for all actions
Peter Eisentraut <peter_e@gmx.net>
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>
Files
| Path | Change | +/− |
|---|---|---|
| contrib/start-scripts/freebsd | modified | +2 −3 |
| contrib/start-scripts/linux | modified | +2 −3 |
| contrib/start-scripts/osx/PostgreSQL | modified | +1 −2 |
| doc/src/sgml/ref/pg_ctl-ref.sgml | modified | +19 −17 |
| src/bin/pg_ctl/pg_ctl.c | modified | +2 −13 |
| src/bin/pg_ctl/t/001_start_stop.pl | modified | +9 −9 |
| src/bin/pg_ctl/t/003_promote.pl | modified | +5 −5 |
| src/test/modules/commit_ts/t/003_standby_2.pl | modified | +1 −1 |
| src/test/perl/PostgresNode.pm | modified | +6 −6 |
| src/tools/msvc/vcregress.pl | modified | +2 −2 |