git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6ed2d85)
Switch pg_basebackup commands in Postgres.pm to use --nosync
2016年9月29日 16:00:00 +0000 (12:00 -0400)
2016年9月29日 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>


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";
}
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /