1
0
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:
Grigory Smolkin
2020-12-02 11:05:49 +03:00
parent d1757f8fa3
commit 01d257451c
+1 -1
View File
@@ -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));