From: Alvaro Herrera Date: Wed, 21 Oct 2020 17:37:26 +0000 (-0300) Subject: Use fast checkpoint in PostgresNode::backup() X-Git-Tag: REL_13_1~53 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ddc728d437a08c68638101ef01d742d6f4476675;p=thirdparty%2Fpostgresql.git Use fast checkpoint in PostgresNode::backup() Should cause tests to be a bit faster --- diff --git a/src/test/perl/PostgresNode.pm b/src/test/perl/PostgresNode.pm index 4e3e23f013a..980f1f15335 100644 --- a/src/test/perl/PostgresNode.pm +++ b/src/test/perl/PostgresNode.pm @@ -553,8 +553,10 @@ sub backup my $name = $self->name; print "# Taking pg_basebackup $backup_name from node \"$name\"\n"; - TestLib::system_or_bail('pg_basebackup', '-D', $backup_path, '-h', - $self->host, '-p', $self->port, '--no-sync'); + TestLib::system_or_bail( + 'pg_basebackup', '-D', $backup_path, '-h', + $self->host, '-p', $self->port, '--checkpoint', + 'fast', '--no-sync'); print "# Backup finished\n"; return; }