Content-Length: 258863 | pFad | http://github.com/postgrespro/postgres/commit/728a3e73e96173bb0b0b2afc0da061991f9e3d5d

02 Switch pg_basebackup commands in Postgres.pm to use --nosync · postgrespro/postgres@728a3e7 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/728a3e73e96173bb0b0b2afc0da061991f9e3d5d

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy