Skip to content

Commit 831611b

Browse files
committed
Use fast checkpoint in PostgresNode::backup()
Should cause tests to be a bit faster
1 parent 8a21211 commit 831611b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/test/perl/PostgresNode.pm

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -553,8 +553,10 @@ sub backup
553553
my $name = $self->name;
554554

555555
print "# Taking pg_basebackup $backup_name from node \"$name\"\n";
556-
TestLib::system_or_bail('pg_basebackup', '-D', $backup_path, '-h',
557-
$self->host, '-p', $self->port, '--no-sync');
556+
TestLib::system_or_bail(
557+
'pg_basebackup', '-D', $backup_path, '-h',
558+
$self->host, '-p', $self->port, '--checkpoint',
559+
'fast', '--no-sync');
558560
print "# Backup finished\n";
559561
return;
560562
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy