diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2016-10-19 12:00:00 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2016-10-19 08:48:48 -0400 |
commit | 5d58c07a441414ae29a8e315d2f9868d3d8e20be (patch) | |
tree | 92b04c0ac182921e86394e66cec62aaccc48df6d /src/test | |
parent | caf936b09fc7c74844575332b07c667a178cb078 (diff) | |
download | postgresql-5d58c07a441414ae29a8e315d2f9868d3d8e20be.tar.gz postgresql-5d58c07a441414ae29a8e315d2f9868d3d8e20be.zip |
initdb pg_basebackup: Rename --noxxx options to --no-xxx
--noclean and --nosync were the only options spelled without a hyphen,
so change this for consistency with other options. The options in
pg_basebackup have not been in a release, so we just rename them. For
initdb, we retain the old variants.
Vik Fearing and me
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/perl/PostgresNode.pm | 2 | ||||
-rw-r--r-- | src/test/regress/pg_regress.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/perl/PostgresNode.pm b/src/test/perl/PostgresNode.pm index 535d6c0e7cb..6e5a75a050b 100644 --- a/src/test/perl/PostgresNode.pm +++ b/src/test/perl/PostgresNode.pm @@ -484,7 +484,7 @@ sub backup print "# Taking pg_basebackup $backup_name from node \"$name\"\n"; TestLib::system_or_bail('pg_basebackup', '-D', $backup_path, '-p', $port, - '-x', '--nosync'); + '-x', '--no-sync'); print "# Backup finished\n"; } diff --git a/src/test/regress/pg_regress.c b/src/test/regress/pg_regress.c index 762adb84432..f2dedbbc8ab 100644 --- a/src/test/regress/pg_regress.c +++ b/src/test/regress/pg_regress.c @@ -2239,7 +2239,7 @@ regression_main(int argc, char *argv[], init_function ifunc, test_function tfunc /* initdb */ header(_("initializing database system")); snprintf(buf, sizeof(buf), - "\"%s%sinitdb\" -D \"%s/data\" --noclean --nosync%s%s > \"%s/log/initdb.log\" 2>&1", + "\"%s%sinitdb\" -D \"%s/data\" --no-clean --no-sync%s%s > \"%s/log/initdb.log\" 2>&1", bindir ? bindir : "", bindir ? "/" : "", temp_instance, |