You've already forked pgbackrest
mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-06-16 23:47:38 +02:00
Storage and IO layer refactor:
Refactor storage layer to allow for new repository filesystems using drivers. (Reviewed by Cynthia Shang.) Refactor IO layer to allow for new compression formats, checksum types, and other capabilities using filters. (Reviewed by Cynthia Shang.)
This commit is contained in:
@ -220,12 +220,12 @@ sub run
|
||||
$self->configLoadExpect($oOption, CMD_RESTORE);
|
||||
}
|
||||
|
||||
if ($self->begin('invalid ' . OPTION_BUFFER_SIZE))
|
||||
if ($self->begin('invalid ' . OPTION_COMPRESS_LEVEL))
|
||||
{
|
||||
$self->optionSetTest($oOption, OPTION_STANZA, $self->stanza());
|
||||
$self->optionSetTest($oOption, OPTION_BUFFER_SIZE, '512');
|
||||
$self->optionSetTest($oOption, OPTION_COMPRESS_LEVEL, '12');
|
||||
|
||||
$self->configLoadExpect($oOption, CMD_RESTORE, ERROR_OPTION_INVALID_RANGE, '512', OPTION_BUFFER_SIZE);
|
||||
$self->configLoadExpect($oOption, CMD_RESTORE, ERROR_OPTION_INVALID_RANGE, '12', OPTION_COMPRESS_LEVEL);
|
||||
}
|
||||
|
||||
if ($self->begin(CMD_BACKUP . ' invalid value ' . OPTION_RETENTION_ARCHIVE_TYPE))
|
||||
|
Reference in New Issue
Block a user