projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ed2d85
)
Switch pg_basebackup commands in Postgres.pm to use --nosync
author
Peter Eisentraut
<peter_e@gmx.net>
Thu, 29 Sep 2016 16:00:00 +0000
(12:00 -0400)
committer
Peter Eisentraut
<peter_e@gmx.net>
Thu, 29 Sep 2016 16:00:00 +0000
(12:00 -0400)
On slow machines, this greatly reduces the I/O pressure induced by the
tests.
From: Michael Paquier <michael.paquier@gmail.com>
src/test/perl/PostgresNode.pm
patch
|
blob
|
blame
|
history
diff --git
a/src/test/perl/PostgresNode.pm
b/src/test/perl/PostgresNode.pm
index afbdb6332bd8a1a949f2c906f4efeb6aebb849bc..1611ac9461d6b5c1909fa0e2ad2414628dd78066 100644
(file)
--- a/
src/test/perl/PostgresNode.pm
+++ b/
src/test/perl/PostgresNode.pm
@@
-483,7
+483,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');
+ '-x'
, '--nosync'
);
print "# Backup finished\n";
}