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-ftdjmm0z...@mail.gmail.com Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/96a7128b7b4c9ce4fb51df8c8b216dfab6340766 Modified Files -------------- doc/src/sgml/ref/pg_dump.sgml | 14 ++++++++++++++ doc/src/sgml/ref/pg_dumpall.sgml | 14 ++++++++++++++ src/bin/pg_dump/pg_backup.h | 2 +- src/bin/pg_dump/pg_backup_archiver.c | 15 ++++++++++----- src/bin/pg_dump/pg_backup_archiver.h | 1 + src/bin/pg_dump/pg_backup_custom.c | 5 +++++ src/bin/pg_dump/pg_backup_directory.c | 8 ++++++++ src/bin/pg_dump/pg_backup_tar.c | 5 +++++ src/bin/pg_dump/pg_dump.c | 12 ++++++++++-- src/bin/pg_dump/pg_dumpall.c | 15 +++++++++++++++ src/common/file_utils.c | 19 +++++++++++++++++++ src/include/common/file_utils.h | 1 + 12 files changed, 103 insertions(+), 8 deletions(-) -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers