1
0
mirror of https://github.com/postgrespro/pg_probackup.git synced 2025-03-17 21:18:00 +02:00

allow page mode backup of compressed files. Just remove the error message.

This commit is contained in:
Anastasia 2017-02-13 12:28:19 +03:00
parent 946e1e24f0
commit 53a5df9c8a

View File

@ -1415,12 +1415,7 @@ add_files(parray *files, const char *root, bool add_root, bool is_pgdata)
/* compress map file it is not data file */
if (path_len > 4 && strncmp(file->path+(path_len-4), ".cfm", 4) == 0)
{
if (current.backup_mode == BACKUP_MODE_DIFF_PAGE)
elog(ERROR, "You can't use PAGE mode backup with compressed tablespace.\n"
"Try FULL or PTRACK mode instead.");
continue;
}
/* name of data file start with digit */
if (fname == NULL)