From: Alvaro Herrera Date: Wed, 21 Oct 2020 17:37:25 +0000 (-0300) Subject: Use fast checkpoint in PostgresNode::backup() X-Git-Tag: REL_11_10~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c7658a470a2986b2c84553f3193972b0b868b74b;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 e69878c98ee..905f6f976db 100644 --- a/src/test/perl/PostgresNode.pm +++ b/src/test/perl/PostgresNode.pm @@ -561,8 +561,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; }