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 29380ef commit c237774Copy full SHA for c237774
src/backup.c
@@ -2037,7 +2037,16 @@ parse_backup_filelist_filenames(parray *files, const char *root)
2037
/* Check files located inside database directories */
2038
if (filename && file->dbOid != 0)
2039
{
2040
- if (filename[0] == 't' && isdigit(filename[1]))
+ if (strcmp(filename, "pg_internal.init") == 0)
2041
+ {
2042
+ /* Do not pg_internal.init files
2043
+ * (they contain some cache entries, so it's fine) */
2044
+ pgFileFree(file);
2045
+ parray_remove(files, i);
2046
+ i--;
2047
+ continue;
2048
+ }
2049
+ else if (filename[0] == 't' && isdigit(filename[1]))
2050
2051
elog(VERBOSE, "temp file, filepath %s", relative);
2052
/* Do not backup temp files */
0 commit comments