mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
Use fast checkpoint in PostgresNode::backup()
Should cause tests to be a bit faster
This commit is contained in:
parent
8a2121185b
commit
831611b11c
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user