mirror of
https://github.com/postgres/postgres.git
synced 2025-06-23 14:01:44 +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";
|
print "# Taking pg_basebackup $backup_name from node \"$name\"\n";
|
||||||
TestLib::system_or_bail('pg_basebackup', '-D', $backup_path, '-p', $port,
|
TestLib::system_or_bail('pg_basebackup', '-D', $backup_path, '-p', $port,
|
||||||
'-x');
|
'-x', '--nosync');
|
||||||
print "# Backup finished\n";
|
print "# Backup finished\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user