aboutsummaryrefslogtreecommitdiff
path: root/src/test/perl/PostgresNode.pm
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2016-10-19 12:00:00 -0400
committerPeter Eisentraut <peter_e@gmx.net>2016-10-19 08:48:48 -0400
commit5d58c07a441414ae29a8e315d2f9868d3d8e20be (patch)
tree92b04c0ac182921e86394e66cec62aaccc48df6d /src/test/perl/PostgresNode.pm
parentcaf936b09fc7c74844575332b07c667a178cb078 (diff)
downloadpostgresql-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/perl/PostgresNode.pm')
-rw-r--r--src/test/perl/PostgresNode.pm2
1 files changed, 1 insertions, 1 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";
}