mirror of
https://github.com/postgres/postgres.git
synced 2025-07-08 11:42:09 +03:00
Sync pg_dump and pg_dumpall output
Before exiting any files are fsync'ed. A --no-sync option is also provided for a faster exit if desired. Michael Paquier. Reviewed by Albe Laurenz Discussion: https://postgr.es/m/CAB7nPqS1uZ=Ov+UruW6jr3vB-S_DLVMPc0dQpV-fTDjmm0ZQMg@mail.gmail.com
This commit is contained in:
@ -19,6 +19,7 @@ extern int fsync_fname(const char *fname, bool isdir,
|
||||
const char *progname);
|
||||
extern void fsync_pgdata(const char *pg_data, const char *progname,
|
||||
int serverVersion);
|
||||
extern void fsync_dir_recurse(const char *dir, 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);
|
||||
|
Reference in New Issue
Block a user