mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-08-31 15:17:22 +02:00
Use fast checkpoint in PostgresNode::backup()
Should cause tests to be a bit faster
This commit is contained in:
parent
5f6463a20a
commit
ddc728d437
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user