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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy