Skip to content

Commit 728a3e7

Browse files
committed
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>
1 parent 6ed2d85 commit 728a3e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/perl/PostgresNode.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ sub backup
483483

484484
print "# Taking pg_basebackup $backup_name from node \"$name\"\n";
485485
TestLib::system_or_bail('pg_basebackup', '-D', $backup_path, '-p', $port,
486-
'-x');
486+
'-x', '--nosync');
487487
print "# Backup finished\n";
488488
}
489489

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy