8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3cf4d3 commit 5c247d0Copy full SHA for 5c247d0
src/dir.c
@@ -630,6 +630,14 @@ dir_check_file(const char *root, pgFile *file)
630
}
631
else
632
{
633
+ /*
634
+ * snapfs files:
635
+ * RELFILENODE.BLOCKNO.snapmap.SNAPID
636
+ * RELFILENODE.BLOCKNO.snap.SNAPID
637
+ */
638
+ if (strstr(file->name, "snap") != NULL)
639
+ return true;
640
+
641
len = strlen(file->name);
642
/* reloid.cfm */
643
if (len > 3 && strcmp(file->name + len - 3, "cfm") == 0)
tests/snapfs.py
@@ -42,7 +42,7 @@ def test_backup_modes_archive(self):
42
43
node.safe_psql(
44
'postgres',
45
- 'select pg_remove_snashot(1)')
+ 'select pg_remove_snapshot(1)')
46
47
self.backup_node(
48
backup_dir, 'node', node)
0 commit comments