diff options
Diffstat (limited to 'src/include/common/file_utils.h')
-rw-r--r-- | src/include/common/file_utils.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/include/common/file_utils.h b/src/include/common/file_utils.h index d3794df7a0c..1cb263d9e20 100644 --- a/src/include/common/file_utils.h +++ b/src/include/common/file_utils.h @@ -15,8 +15,11 @@ #ifndef FILE_UTILS_H #define FILE_UTILS_H -extern void fsync_fname(const char *fname, bool isdir, - const char *progname); +extern int fsync_fname(const char *fname, bool isdir, + const char *progname); extern void fsync_pgdata(const char *pg_data, const char *progname); +extern int durable_rename(const char *oldfile, const char *newfile, + const char *progname); +extern int fsync_parent_path(const char *fname, const char *progname); #endif /* FILE_UTILS_H */ |