@@ -181,7 +181,7 @@ push_wal_file(const char *from_path, const char *to_path, bool is_compress,
181181#ifdef HAVE_LIBZ
182182 if (is_compress )
183183 {
184- snprintf (to_path_temp , sizeof (to_path_temp ), "%s.partial " , gz_to_path );
184+ snprintf (to_path_temp , sizeof (to_path_temp ), "%s.part " , gz_to_path );
185185
186186 gz_out = fio_gzopen (to_path_temp , PG_BINARY_W , instance_config .compress_level , FIO_BACKUP_HOST );
187187 if (gz_out == NULL )
@@ -194,7 +194,7 @@ push_wal_file(const char *from_path, const char *to_path, bool is_compress,
194194 else
195195#endif
196196 {
197- snprintf (to_path_temp , sizeof (to_path_temp ), "%s.partial " , to_path );
197+ snprintf (to_path_temp , sizeof (to_path_temp ), "%s.part " , to_path );
198198
199199 out = fio_open (to_path_temp , O_RDWR | O_CREAT | O_EXCL | PG_BINARY , FIO_BACKUP_HOST );
200200 if (out < 0 )
@@ -416,7 +416,7 @@ get_wal_file(const char *from_path, const char *to_path)
416416#endif
417417
418418 /* open backup file for write */
419- snprintf (to_path_temp , sizeof (to_path_temp ), "%s.partial " , to_path );
419+ snprintf (to_path_temp , sizeof (to_path_temp ), "%s.part " , to_path );
420420
421421 out = fio_open (to_path_temp , O_RDWR | O_CREAT | O_EXCL | PG_BINARY , FIO_DB_HOST );
422422 if (out < 0 )
0 commit comments