8000 [PGPRO-5705] remove snapfs (found in commits 9bf541b85, 8b8337047, 5c… · postgrespro/pg_probackup@66dd4b2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 66dd4b2

Browse files
committed
[PGPRO-5705] remove snapfs (found in commits 9bf541b, 8b83370, 5c247d0)
1 parent 73496c4 commit 66dd4b2

File tree

3 files changed

+1
-70
lines changed

3 files changed

+1
-70
lines changed

src/dir.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -762,13 +762,6 @@ dir_check_file(pgFile *file, bool backup_logs)
762762
}
763763
else
764764
{
765-
/*
766-
* snapfs files:
767-
* RELFILENODE.BLOCKNO.snapmap.SNAPID
768-
* RELFILENODE.BLOCKNO.snap.SNAPID
769-
*/
770-
if (strstr(file->name, "snap") != NULL)
771-
return true;
772765

773766
len = strlen(file->name);
774767
/* reloid.cfm */

tests/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
backup, delete, delta, restore, validate, \
66
retention, pgpro560, pgpro589, pgpro2068, false_positive, replica, \
77
compression, page, ptrack, archive, exclude, cfs_backup, cfs_restore, \
8-
cfs_validate_backup, auth_test, time_stamp, snapfs, logging, \
8+
cfs_validate_backup, auth_test, time_stamp, logging, \
99
locking, remote, external, config, checkdb, set_backup, incr_restore, \
1010
CVE_2018_1058
1111

@@ -53,7 +53,6 @@ def load_tests(loader, tests, pattern):
5353
suite.addTests(loader.loadTestsFromModule(retention))
5454
suite.addTests(loader.loadTestsFromModule(set_backup))
5555
suite.addTests(loader.loadTestsFromModule(show))
56-
suite.addTests(loader.loadTestsFromModule(snapfs))
5756
suite.addTests(loader.loadTestsFromModule(time_stamp))
5857
suite.addTests(loader.loadTestsFromModule(validate))
5958
suite.addTests(loader.loadTestsFromModule(CVE_2018_1058))

tests/snapfs.py

Lines changed: 0 additions & 61 deletions
This file was deleted.

0 commit comments

Comments
 (0)
0