mirror of
https://github.com/postgres/postgres.git
synced 2025-06-22 02:52:08 +03:00
Switch pg_basebackup commands in Postgres.pm to use --nosync
On slow machines, this greatly reduces the I/O pressure induced by the tests. From: Michael Paquier <michael.paquier@gmail.com>
This commit is contained in:
@ -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";
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user