Commit 831611b1 authored by Alvaro Herrera's avatar Alvaro Herrera

Use fast checkpoint in PostgresNode::backup()

Should cause tests to be a bit faster
parent 8a212118
...@@ -553,8 +553,10 @@ sub backup ...@@ -553,8 +553,10 @@ sub backup
my $name = $self->name; my $name = $self->name;
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, '-h', TestLib::system_or_bail(
$self->host, '-p', $self->port, '--no-sync'); 'pg_basebackup', '-D', $backup_path, '-h',
$self->host, '-p', $self->port, '--checkpoint',
'fast', '--no-sync');
print "# Backup finished\n"; print "# Backup finished\n";
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment