You've already forked pg_probackup
mirror of
https://github.com/postgrespro/pg_probackup.git
synced 2026-06-21 01:34:15 +02:00
[Issue #272] minor fix
This commit is contained in:
+1
-1
@@ -2154,7 +2154,7 @@ write_backup(pgBackup *backup, bool strict)
|
||||
elog(ERROR, "Cannot close control file \"%s\": %s",
|
||||
path_temp, strerror(errno));
|
||||
|
||||
if (fio_fsync(path_temp, FIO_BACKUP_HOST)) < 0)
|
||||
if (fio_sync(path_temp, FIO_BACKUP_HOST) < 0)
|
||||
elog(ERROR, "Cannot sync control file \"%s\": %s",
|
||||
path_temp, strerror(errno));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user