Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit831611b

Browse files
committed
Use fast checkpoint in PostgresNode::backup()
Should cause tests to be a bit faster
1 parent8a21211 commit831611b

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)

[8]ページ先頭

©2009-2025 Movatter.jp