projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a21211
)
Use fast checkpoint in PostgresNode::backup()
author
Alvaro Herrera
<
[email protected]
>
Wed, 21 Oct 2020 17:37:26 +0000
(14:37 -0300)
committer
Alvaro Herrera
<
[email protected]
>
Wed, 21 Oct 2020 17:37:26 +0000
(14:37 -0300)
Should cause tests to be a bit faster
src/test/perl/PostgresNode.pm
patch
|
blob
|
blame
|
history
diff --git
a/src/test/perl/PostgresNode.pm
b/src/test/perl/PostgresNode.pm
index 97e9d932ce70883564c827d08c4b6d7b5de7f358..ebcaeb44fec507fe014726c7d0efb77319bb1b62 100644
(file)
--- 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;
}