Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 53a5df9

Browse files
committed
allow page mode backup of compressed files. Just remove the error message.
1 parent 946e1e2 commit 53a5df9

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

backup.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1415,12 +1415,7 @@ add_files(parray *files, const char *root, bool add_root, bool is_pgdata)
14151415

14161416
/* compress map file it is not data file */
14171417
if (path_len > 4 && strncmp(file->path+(path_len-4), ".cfm", 4) == 0)
1418-
{
1419-
if (current.backup_mode == BACKUP_MODE_DIFF_PAGE)
1420-
elog(ERROR, "You can't use PAGE mode backup with compressed tablespace.\n"
1421-
"Try FULL or PTRACK mode instead.");
14221418
continue;
1423-
}
14241419

14251420
/* name of data file start with digit */
14261421
if (fname == NULL)

0 commit comments

Comments
 (0)