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

Commit35b4b7d

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

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
@@ -519,8 +519,10 @@ sub backup
519519
my$name =$self->name;
520520

521521
print"# Taking pg_basebackup$backup_name from node\"$name\"\n";
522-
TestLib::system_or_bail('pg_basebackup','-D',$backup_path,'-h',
523-
$self->host,'-p',$self->port,'--no-sync');
522+
TestLib::system_or_bail(
523+
'pg_basebackup','-D',$backup_path,'-h',
524+
$self->host,'-p',$self->port,'--checkpoint',
525+
'fast','--no-sync');
524526
print"# Backup finished\n";
525527
}
526528

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp