]> granicus.if.org Git - postgresql/commit
Sync pg_dump and pg_dumpall output
authorAndrew Dunstan <andrew@dunslane.net>
Wed, 22 Mar 2017 14:00:30 +0000 (10:00 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Wed, 22 Mar 2017 14:20:13 +0000 (10:20 -0400)
commit96a7128b7b4c9ce4fb51df8c8b216dfab6340766
tree900964e96eebe58df9033f698506293056a49530
parent9b013dc238cefa2860b384a3fa016ad1ceb062e4
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
12 files changed:
doc/src/sgml/ref/pg_dump.sgml
doc/src/sgml/ref/pg_dumpall.sgml
src/bin/pg_dump/pg_backup.h
src/bin/pg_dump/pg_backup_archiver.c
src/bin/pg_dump/pg_backup_archiver.h
src/bin/pg_dump/pg_backup_custom.c
src/bin/pg_dump/pg_backup_directory.c
src/bin/pg_dump/pg_backup_tar.c
src/bin/pg_dump/pg_dump.c
src/bin/pg_dump/pg_dumpall.c
src/common/file_utils.c
src/include/common/file_utils.h